python-pyrfc3339: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 17:34:57 +07:00
parent ca28be8172
commit 5071928ffc
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-pyrfc3339'
pkgname=python-pyrfc3339
version=1.1
revision=2
archs=noarch
build_style=python-module
pycompile_module="pyrfc3339"
wrksrc="pyRFC3339-${version}"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-pytz"
short_desc="Python2 library for generating and parsing RFC 3339 timestamps"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/kurtraschke/pyRFC3339"
distfiles="${PYPI_SITE}/p/pyRFC3339/pyRFC3339-${version}.tar.gz"
checksum=81b8cbe1519cdb79bed04910dd6fa4e181faf8c88dff1e1b987b5f7ab23a5b1a
post_install() {
vlicense LICENSE.txt LICENSE
}
python3-pyrfc3339_package() {
short_desc="${short_desc/Python2/Python3}"
depends="python3-pytz"
pycompile_module="pyrfc3339"
archs=noarch
pkg_install() {
vlicense LICENSE.txt LICENSE
vmove usr/lib/python3*
}
}

View file

@ -1 +0,0 @@
python-pyrfc3339

View file

@ -0,0 +1,18 @@
# Template file for 'python3-pyrfc3339'
pkgname=python3-pyrfc3339
version=1.1
revision=3
wrksrc="pyRFC3339-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pytz"
short_desc="Python3 library for generating and parsing RFC 3339 timestamps"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/kurtraschke/pyRFC3339"
distfiles="${PYPI_SITE}/p/pyRFC3339/pyRFC3339-${version}.tar.gz"
checksum=81b8cbe1519cdb79bed04910dd6fa4e181faf8c88dff1e1b987b5f7ab23a5b1a
post_install() {
vlicense LICENSE.txt LICENSE
}