void-packages/srcpkgs/python-astral/template

27 lines
819 B
Bash
Raw Normal View History

2019-01-02 02:53:16 +01:00
# Template file for 'python-astral'
pkgname=python-astral
2019-02-09 08:42:36 +01:00
version=1.10.1
2019-01-02 02:53:16 +01:00
revision=1
noarch=yes
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"
2019-02-09 08:42:36 +01:00
checksum=034817c11d5c7f55ef550b5ac00d8235eae92ff8abab6550098e14921bc4c598
2019-01-02 02:53:16 +01:00
python3-astral_package() {
noarch=yes
pycompile_module="astral.py"
depends="python3-requests python3-pytz"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}