[arch-commits] Commit in isodate/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Tue Aug 7 01:55:43 UTC 2018
Date: Tuesday, August 7, 2018 @ 01:55:43
Author: eschwartz
Revision: 369974
archrelease: copy trunk to community-any
Added:
isodate/repos/community-any/PKGBUILD
(from rev 369973, isodate/trunk/PKGBUILD)
Deleted:
isodate/repos/community-any/PKGBUILD
----------+
PKGBUILD | 97 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 50 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-07 01:55:21 UTC (rev 369973)
+++ PKGBUILD 2018-08-07 01:55:43 UTC (rev 369974)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=isodate
-pkgname=('python2-isodate' 'python-isodate')
-pkgver=0.6.0
-pkgrel=2
-pkgdesc="An ISO 8601 date/time/duration parser and formatter"
-arch=('any')
-url="http://pypi.python.org/pypi/isodate"
-license=('BSD')
-makedepends=('python2' 'python')
-checkdepends=('python2-setuptools' 'python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/i/isodate/isodate-$pkgver.tar.gz")
-sha1sums=('2c69e08c9894a9cd96c627146463260f5731df62')
-
-build() {
- cp -r "$pkgbase-$pkgver" "$srcdir/python2"
-}
-
-check() {
- cd "$srcdir/python2"
- python2 setup.py test
- cd "$srcdir/$pkgbase-$pkgver"
- python setup.py test
-}
-
-package_python2-isodate() {
- depends=('python2')
-
- cd "$srcdir/python2"
- python2 setup.py install --root="$pkgdir/" --optimize=0
- find "$pkgdir/" -name '*.pyc' -delete
- install -d "${pkgdir}/usr/share/licenses/${pkgname}"
- head -26 src/isodate/isodates.py > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python-isodate() {
- depends=('python')
-
- cd "$srcdir/$pkgbase-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=0
- find "$pkgdir/" -name '*.pyc' -delete
- find "$pkgdir/" -type d -empty -delete
- install -d "${pkgdir}/usr/share/licenses/${pkgname}"
- head -26 src/isodate/isodates.py > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: isodate/repos/community-any/PKGBUILD (from rev 369973, isodate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-07 01:55:43 UTC (rev 369974)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=isodate
+pkgname=('python2-isodate' 'python-isodate')
+pkgver=0.6.0
+pkgrel=3
+pkgdesc="An ISO 8601 date/time/duration parser and formatter"
+arch=('any')
+url="https://github.com/gweis/isodate/"
+license=('BSD')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/i/isodate/isodate-$pkgver.tar.gz")
+sha1sums=('2c69e08c9894a9cd96c627146463260f5731df62')
+
+prepare() {
+ cp -r "$pkgbase-$pkgver" "$srcdir/python2"
+}
+
+build() {
+ cd "$srcdir/python2"
+ python2 setup.py build
+ cd "$srcdir/$pkgbase-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir/python2"
+ python2 setup.py test
+ cd "$srcdir/$pkgbase-$pkgver"
+ python setup.py test
+}
+
+package_python2-isodate() {
+ depends=('python2-six')
+
+ cd "$srcdir/python2"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ head -26 src/isodate/isodates.py > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python-isodate() {
+ depends=('python-six')
+
+ cd "$srcdir/$pkgbase-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ head -26 src/isodate/isodates.py > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list