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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:39:54 UTC 2020


    Date: Monday, November 9, 2020 @ 15:39:54
  Author: felixonmars
Revision: 747069

archrelease: copy trunk to community-staging-any

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

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

Copied: python-jdcal/repos/community-staging-any/PKGBUILD (from rev 747067, python-jdcal/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:39:54 UTC (rev 747069)
@@ -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=5
+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