[arch-commits] Commit in python-jdcal/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 25 16:06:09 UTC 2019


    Date: Friday, October 25, 2019 @ 16:06:08
  Author: felixonmars
Revision: 519370

archrelease: copy trunk to community-staging-any

Added:
  python-jdcal/repos/community-staging-any/
  python-jdcal/repos/community-staging-any/PKGBUILD
    (from rev 519368, python-jdcal/trunk/PKGBUILD)

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

Copied: python-jdcal/repos/community-staging-any/PKGBUILD (from rev 519368, python-jdcal/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 16:06:08 UTC (rev 519370)
@@ -0,0 +1,25 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Mariusz Szczepańczyk <mszczepanczyk at gmail.com>
+
+pkgname='python-jdcal'
+pkgver=1.4.1
+pkgrel=3
+pkgdesc="Julian dates, from proleptic Gregorian and Julian calendars"
+arch=('any')
+url="https://github.com/phn/jdcal"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/phn/jdcal/archive/v${pkgver}.tar.gz")
+sha256sums=('6cb87959fb9293bdd577967419af735a1a0aee3ce778c443acb219b2668c6597')
+
+build() {
+  cd "$srcdir"/jdcal-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/jdcal-${pkgver}
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list