[arch-commits] Commit in python-aniso8601/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jun 15 16:44:31 UTC 2018


    Date: Friday, June 15, 2018 @ 16:44:31
  Author: felixonmars
Revision: 343326

archrelease: copy trunk to community-any

Added:
  python-aniso8601/repos/community-any/PKGBUILD
    (from rev 343325, python-aniso8601/trunk/PKGBUILD)
Deleted:
  python-aniso8601/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-15 16:44:09 UTC (rev 343325)
+++ PKGBUILD	2018-06-15 16:44:31 UTC (rev 343326)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-aniso8601
-pkgname=(python-aniso8601 python2-aniso8601)
-pkgver=3.0.0
-pkgrel=1
-pkgdesc="A library for parsing ISO 8601 strings."
-url="https://bitbucket.org/nielsenb/aniso8601"
-license=('BSD')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-dateutil' 'python2-dateutil')
-source=("$pkgbase-$pkgver.tar.gz::https://bitbucket.org/nielsenb/aniso8601/get/v$pkgver.tar.gz")
-sha512sums=('6d8d3958a83cbd5981e0f01256fd5b6f666c280617caee655303581836f75e8bf552fa1706da678cc028e7f4ec9a239fd1c72d0650debeb53f06fad5b8624d31')
-
-prepare() {
-  mv nielsenb-aniso8601-* aniso8601-$pkgver
-  cp -a aniso8601-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/aniso8601-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/aniso8601-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/aniso8601-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/aniso8601-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-aniso8601() {
-  depends=('python')
-
-  cd aniso8601-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-aniso8601() {
-  depends=('python2')
-
-  cd aniso8601-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-aniso8601/repos/community-any/PKGBUILD (from rev 343325, python-aniso8601/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-15 16:44:31 UTC (rev 343326)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-aniso8601
+pkgname=(python-aniso8601 python2-aniso8601)
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="A library for parsing ISO 8601 strings."
+url="https://bitbucket.org/nielsenb/aniso8601"
+license=('BSD')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-dateutil' 'python2-dateutil')
+source=("$pkgbase-$pkgver.tar.gz::https://bitbucket.org/nielsenb/aniso8601/get/v$pkgver.tar.gz")
+sha512sums=('828d5c509fff869036b3a616d7f8591d09eae38d05d9143e9218a000edd739d39f9354171380e848beb9f8904a90c8814d45eff0506caab1842014506376225a')
+
+prepare() {
+  mv nielsenb-aniso8601-* aniso8601-$pkgver
+  cp -a aniso8601-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/aniso8601-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/aniso8601-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/aniso8601-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/aniso8601-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-aniso8601() {
+  depends=('python')
+
+  cd aniso8601-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-aniso8601() {
+  depends=('python2')
+
+  cd aniso8601-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list