app-emacs/ts: add 0.2.2, update 9999
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
96ebaefe84
commit
28f4627b2c
1
app-emacs/ts/Manifest
Normal file
1
app-emacs/ts/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST ts-0.2.2.tar.gz 41296 BLAKE2B 4238662cb4c726347ab3eb33064363ca1c846c9f99283a82a9724d358547a8651a37f5d72ebb2aeb93447aa07ec1f7c8c329a1be9da7767a5aa34d18493ae4cd SHA512 231d631011cf1d51e62c2f8ce53b3e7141eb0d1127dd8911f6a82feaa074afee2147454479d19901f867548520a988129e0c16be8326386e9de926662dcb535b
|
38
app-emacs/ts/ts-0.2.2.ebuild
Normal file
38
app-emacs/ts/ts-0.2.2.ebuild
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
NEED_EMACS="26.1"
|
||||||
|
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="Timestamp and date/time library"
|
||||||
|
HOMEPAGE="https://github.com/alphapapa/ts.el"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/alphapapa/ts.el.git"
|
||||||
|
else
|
||||||
|
MY_PN="${PN}.el"
|
||||||
|
SRC_URI="https://github.com/alphapapa/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
RESTRICT="test"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=app-emacs/dash-2.14.1
|
||||||
|
>=app-emacs/s-1.12.0
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
emake test
|
||||||
|
}
|
@ -1,30 +1,37 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
NEED_EMACS="26.1"
|
NEED_EMACS="26.1"
|
||||||
|
|
||||||
inherit elisp git-r3
|
inherit elisp
|
||||||
|
|
||||||
DESCRIPTION="Timestamp and date/time library"
|
DESCRIPTION="Timestamp and date/time library"
|
||||||
HOMEPAGE="https://github.com/alphapapa/ts.el"
|
HOMEPAGE="https://github.com/alphapapa/ts.el"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://github.com/alphapapa/ts.el.git"
|
EGIT_REPO_URI="https://github.com/alphapapa/ts.el.git"
|
||||||
EGIT_BRANCH="master"
|
else
|
||||||
EGIT_CLONE_TYPE="single"
|
MY_PN="${PN}.el"
|
||||||
|
SRC_URI="https://github.com/alphapapa/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||||
|
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
RESTRICT="test"
|
||||||
|
fi
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
BDEPEND="
|
DEPEND="
|
||||||
>=app-emacs/dash-2.14.1
|
>=app-emacs/dash-2.14.1
|
||||||
>=app-emacs/s-1.12.0
|
>=app-emacs/s-1.12.0
|
||||||
"
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
RDEPEND="${BDEPEND}"
|
|
||||||
|
|
||||||
src_test() {
|
src_test() {
|
||||||
emake test
|
emake test
|
||||||
|
Loading…
Reference in New Issue
Block a user