Date: Monday, October 10, 2022 @ 08:35:49
  Author: alucryd
Revision: 1324699

archrelease: copy trunk to community-any

Added:
  python-astral/repos/community-any/PKGBUILD
    (from rev 1324698, python-astral/trunk/PKGBUILD)
Deleted:
  python-astral/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 37 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-10 08:35:39 UTC (rev 1324698)
+++ PKGBUILD    2022-10-10 08:35:49 UTC (rev 1324699)
@@ -1,41 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-# Contributor: Ekin Dursun <[email protected]>
-# Contributor: Gregoire Seux <[email protected]>
-
-pkgname=python-astral
-pkgver=2.2
-pkgrel=5
-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
-)
-makedepends=(
-  git
-  python-setuptools
-)
-source=(git+https://github.com/sffjunkie/astral.git#tag=3282d7b437349bc035c8a7dff5c27ec9997a2cdf)
-sha256sums=(SKIP)
-
-pkgver() {
-  cd astral
-
-  git describe --tags
-}
-
-build() {
-  cd astral
-
-  python setup.py build
-}
-
-package() {
-  cd astral
-
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-astral/repos/community-any/PKGBUILD (from rev 1324698, 
python-astral/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-10 08:35:49 UTC (rev 1324699)
@@ -0,0 +1,37 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Ekin Dursun <[email protected]>
+# Contributor: Gregoire Seux <[email protected]>
+
+pkgname=python-astral
+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-requests)
+makedepends=(
+  git
+  python-build
+  python-installer
+  python-poetry-core
+)
+_tag=0d5b5911751a6ced42ad5981efd68350cff86496
+source=(git+https://github.com/sffjunkie/astral.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd astral
+  git describe --tags
+}
+
+build() {
+  cd astral
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  python -m installer --destdir="${pkgdir}" astral/dist/*.whl
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to