[arch-commits] Commit in isodate/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Sat Apr 30 00:44:00 UTC 2016
Date: Saturday, April 30, 2016 @ 02:44:00
Author: kkeen
Revision: 172844
archrelease: copy trunk to community-any
Added:
isodate/repos/community-any/PKGBUILD
(from rev 172843, isodate/trunk/PKGBUILD)
Deleted:
isodate/repos/community-any/PKGBUILD
----------+
PKGBUILD | 95 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-30 00:43:38 UTC (rev 172843)
+++ PKGBUILD 2016-04-30 00:44:00 UTC (rev 172844)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer:
-
-pkgbase=isodate
-pkgname=('python2-isodate' 'python-isodate')
-pkgver=0.5.4
-pkgrel=1
-pkgdesc="An ISO 8601 date/time/duration parser and formater"
-arch=('any')
-url="http://pypi.python.org/pypi/isodate"
-license=('BSD')
-makedepends=('python2' 'python')
-checkdepends=('python2-setuptools' 'python-setuptools')
-source=(http://pypi.python.org/packages/source/i/isodate/$pkgbase-$pkgver.tar.gz)
-sha1sums=('b4ee406451fbc95cf12beac368a7155704c52635')
-
-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"
-}
-sha1sums=('40ccf07a8e46284a79cfc4d41e151f71ae63f535')
Copied: isodate/repos/community-any/PKGBUILD (from rev 172843, isodate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-04-30 00:44:00 UTC (rev 172844)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=isodate
+pkgname=('python2-isodate' 'python-isodate')
+pkgver=0.5.4
+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=(http://pypi.python.org/packages/source/i/isodate/$pkgbase-$pkgver.tar.gz)
+sha1sums=('40ccf07a8e46284a79cfc4d41e151f71ae63f535')
+
+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"
+}
More information about the arch-commits
mailing list