[arch-commits] Commit in python-astral (3 files)

Maxime Gauduin alucryd at archlinux.org
Tue Jul 16 13:13:20 UTC 2019


    Date: Tuesday, July 16, 2019 @ 13:13:19
  Author: alucryd
Revision: 490035

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-astral/repos/community-any/PKGBUILD (from rev 490034, python-astral/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-07-16 13:13:19 UTC (rev 490035)
@@ -0,0 +1,35 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ekin Dursun <ekindursun at gmail.com>
+# Contributor: Gregoire Seux <grego_aur at familleseux.net>
+
+pkgname=python-astral
+pkgver=1.10.1
+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
+)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/sffjunkie/astral.git#tag=${pkgver})
+sha256sums=('SKIP')
+
+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:


More information about the arch-commits mailing list