app-emacs/ts: add 0.2.2, update 9999

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2022-07-09 20:59:59 +03:00
parent 96ebaefe84
commit 28f4627b2c
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 55 additions and 9 deletions

1
app-emacs/ts/Manifest Normal file
View File

@ -0,0 +1 @@
DIST ts-0.2.2.tar.gz 41296 BLAKE2B 4238662cb4c726347ab3eb33064363ca1c846c9f99283a82a9724d358547a8651a37f5d72ebb2aeb93447aa07ec1f7c8c329a1be9da7767a5aa34d18493ae4cd SHA512 231d631011cf1d51e62c2f8ce53b3e7141eb0d1127dd8911f6a82feaa074afee2147454479d19901f867548520a988129e0c16be8326386e9de926662dcb535b

View 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
}

View File

@ -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
EAPI=8
NEED_EMACS="26.1"
inherit elisp git-r3
inherit elisp
DESCRIPTION="Timestamp and date/time library"
HOMEPAGE="https://github.com/alphapapa/ts.el"
EGIT_REPO_URI="https://github.com/alphapapa/ts.el.git"
EGIT_BRANCH="master"
EGIT_CLONE_TYPE="single"
KEYWORDS="~amd64"
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"
BDEPEND="
DEPEND="
>=app-emacs/dash-2.14.1
>=app-emacs/s-1.12.0
"
RDEPEND="${BDEPEND}"
RDEPEND="${DEPEND}"
src_test() {
emake test