Date: Monday, October 10, 2022 @ 08:35:39 Author: alucryd Revision: 1324698
upgpkg: python-astral 3.0-1 Modified: python-astral/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-10-10 08:24:06 UTC (rev 1324697) +++ PKGBUILD 2022-10-10 08:35:39 UTC (rev 1324698) @@ -3,39 +3,35 @@ # Contributor: Gregoire Seux <[email protected]> pkgname=python-astral -pkgver=2.2 -pkgrel=5 +pkgver=3.0 +pkgrel=1 pkgdesc='Python calculations for the position of the sun and moon' arch=(any) url=https://github.com/sffjunkie/astral license=(APACHE) -depends=( - python-pytz - python-requests -) +depends=(python-requests) makedepends=( git - python-setuptools + python-build + python-installer + python-poetry-core ) -source=(git+https://github.com/sffjunkie/astral.git#tag=3282d7b437349bc035c8a7dff5c27ec9997a2cdf) +_tag=0d5b5911751a6ced42ad5981efd68350cff86496 +source=(git+https://github.com/sffjunkie/astral.git#tag=${_tag}) sha256sums=(SKIP) pkgver() { cd astral - git describe --tags } build() { cd astral - - python setup.py build + python -m build --wheel --no-isolation } package() { - cd astral - - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python -m installer --destdir="${pkgdir}" astral/dist/*.whl } # vim: ts=2 sw=2 et:
