[arch-commits] Commit in python-jdcal/repos/community-any (PKGBUILD PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Fri Oct 28 11:07:06 UTC 2016
Date: Friday, October 28, 2016 @ 11:07:02
Author: aginiewicz
Revision: 193893
archrelease: copy trunk to community-any
Added:
python-jdcal/repos/community-any/PKGBUILD
(from rev 193892, python-jdcal/trunk/PKGBUILD)
Deleted:
python-jdcal/repos/community-any/PKGBUILD
----------+
PKGBUILD | 99 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-28 11:06:49 UTC (rev 193892)
+++ PKGBUILD 2016-10-28 11:07:02 UTC (rev 193893)
@@ -1,49 +0,0 @@
-# $Id$
-# 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.2
-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=("http://pypi.python.org/packages/source/j/jdcal/jdcal-${pkgver}.tar.gz")
-md5sums=('ab8d5ba300fd1eb01514f363d19b1eb9')
-
-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 193892, python-jdcal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-28 11:07:02 UTC (rev 193893)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Mariusz Szczepańczyk <mszczepanczyk at gmail.com>
+
+pkgbase=python-jdcal
+pkgname=('python2-jdcal' 'python-jdcal')
+_pkghash="9b/fa/40beb2aa43a13f740dd5be367a10a03270043787833409c61b79e69f1dfd"
+pkgver=1.3
+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://pypi.python.org/packages/${_pkghash}/jdcal-${pkgver}.tar.gz")
+md5sums=("885ba61d28992f26acffec131bd2a17e")
+
+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
+}
+
More information about the arch-commits
mailing list