[arch-commits] Commit in isodate/repos/community-staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 10 10:29:48 UTC 2019


    Date: Sunday, November 10, 2019 @ 10:29:48
  Author: foutrelis
Revision: 524955

archrelease: copy trunk to community-staging-any

Added:
  isodate/repos/community-staging-any/PKGBUILD
    (from rev 524954, isodate/trunk/PKGBUILD)
Deleted:
  isodate/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   80 +++++++++++++++++++++++--------------------------------------
 1 file changed, 31 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-10 10:29:43 UTC (rev 524954)
+++ PKGBUILD	2019-11-10 10:29:48 UTC (rev 524955)
@@ -1,49 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=isodate
-pkgname=('python2-isodate' 'python-isodate')
-pkgver=0.6.0
-pkgrel=5
-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"
-}

Copied: isodate/repos/community-staging-any/PKGBUILD (from rev 524954, isodate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-10 10:29:48 UTC (rev 524955)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=isodate
+pkgname=('python-isodate')
+pkgver=0.6.0
+pkgrel=5
+pkgdesc="An ISO 8601 date/time/duration parser and formatter"
+arch=('any')
+url="https://github.com/gweis/isodate/"
+license=('BSD')
+depends=('python-six')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/i/isodate/isodate-$pkgver.tar.gz")
+sha1sums=('2c69e08c9894a9cd96c627146463260f5731df62')
+
+build() {
+  cd "$srcdir/$pkgbase-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/$pkgbase-$pkgver"
+  python setup.py test
+}
+
+package_python-isodate() {
+  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