[arch-commits] Commit in python-astral/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 19:52:39 UTC 2019
Date: Friday, October 25, 2019 @ 19:52:38
Author: foutrelis
Revision: 519605
archrelease: copy trunk to community-staging-any
Added:
python-astral/repos/community-staging-any/
python-astral/repos/community-staging-any/PKGBUILD
(from rev 519604, python-astral/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-astral/repos/community-staging-any/PKGBUILD (from rev 519604, python-astral/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 19:52:38 UTC (rev 519605)
@@ -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=2
+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