python3-astral: update to 2.1

python-astral: remove
This commit is contained in:
Cameron Nemo 2020-02-15 19:12:37 -08:00 committed by Piotr
parent 8fa6d462a0
commit f23d6f853e
3 changed files with 15 additions and 27 deletions

View file

@ -1,26 +0,0 @@
# Template file for 'python-astral'
pkgname=python-astral
version=1.10.1
revision=2
archs=noarch
wrksrc="${pkgname#python-}-${version}"
build_style=python-module
pycompile_module="astral.py"
hostmakedepends="python python-setuptools python3 python3-setuptools"
depends="python-requests python-pytz"
short_desc="Calculations for the position of the sun and moon (Python2)"
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/sffjunkie/astral"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=034817c11d5c7f55ef550b5ac00d8235eae92ff8abab6550098e14921bc4c598
python3-astral_package() {
archs=noarch
pycompile_module="astral.py"
depends="python3-requests python3-pytz"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}

View file

@ -1 +0,0 @@
python-astral

View file

@ -0,0 +1,15 @@
# Template file for 'python3-astral'
pkgname=python3-astral
version=2.1
revision=1
archs=noarch
wrksrc="${pkgname#python3-}-${version}"
build_style=python3-module
hostmakedepends="python3 python3-setuptools"
depends="python3-pytz"
short_desc="Calculations for the position of the sun and moon (Python3)"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="Apache-2.0"
homepage="https://github.com/sffjunkie/astral"
distfiles="${PYPI_SITE}/a/astral/astral-${version}.tar.gz"
checksum=7f57ad3ed2aa00fbed2893d82cdd2000e0723a5dbe167e1b7f847cc555596f65