[arch-commits] Commit in python-jdcal/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:22:49 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:22:49
Author: felixonmars
Revision: 1058147
archrelease: copy trunk to community-staging-any
Added:
python-jdcal/repos/community-staging-any/
python-jdcal/repos/community-staging-any/PKGBUILD
(from rev 1058145, python-jdcal/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-jdcal/repos/community-staging-any/PKGBUILD (from rev 1058145, python-jdcal/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:22:49 UTC (rev 1058147)
@@ -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=7
+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