[arch-commits] Commit in python-jdcal/repos/community-any (PKGBUILD PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Thu Oct 3 18:33:06 UTC 2019
Date: Thursday, October 3, 2019 @ 18:33:06
Author: aginiewicz
Revision: 512537
archrelease: copy trunk to community-any
Added:
python-jdcal/repos/community-any/PKGBUILD
(from rev 512536, python-jdcal/trunk/PKGBUILD)
Deleted:
python-jdcal/repos/community-any/PKGBUILD
----------+
PKGBUILD | 73 ++++++++++++++++++++-----------------------------------------
1 file changed, 25 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 18:33:02 UTC (rev 512536)
+++ PKGBUILD 2019-10-03 18:33:06 UTC (rev 512537)
@@ -1,48 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Mariusz Szczepańczyk <mszczepanczyk at gmail.com>
-
-pkgbase=python-jdcal
-pkgname=('python2-jdcal' 'python-jdcal')
-pkgver=1.4.1
-pkgrel=1
-pkgdesc="Julian dates, from proleptic Gregorian and Julian calendars"
-arch=('any')
-url="https://github.com/phn/jdcal"
-license=('BSD')
-makedepends=('python2-setuptools' 'python-setuptools')
-source=("https://github.com/phn/jdcal/archive/v${pkgver}.tar.gz")
-sha256sums=('6cb87959fb9293bdd577967419af735a1a0aee3ce778c443acb219b2668c6597')
-
-build() {
- cd "$srcdir"
- cp -a jdcal-${pkgver} jdcal-py2-${pkgver}
-
- msg "Building Python2"
- cd "$srcdir"/jdcal-py2-${pkgver}
- python2 setup.py build
-
- msg "Building Python3"
- cd "$srcdir"/jdcal-${pkgver}
- python setup.py build
-}
-
-package_python2-jdcal() {
- depends=('python2')
-
- cd "$srcdir"/jdcal-py2-${pkgver}
-
- python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-jdcal() {
- depends=('python')
-
- cd "$srcdir"/jdcal-${pkgver}
-
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
Copied: python-jdcal/repos/community-any/PKGBUILD (from rev 512536, python-jdcal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-03 18:33:06 UTC (rev 512537)
@@ -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=2
+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