[arch-commits] Commit in python-aniso8601/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 17:55:46 UTC 2019
Date: Thursday, October 31, 2019 @ 17:55:46
Author: foutrelis
Revision: 521473
archrelease: copy trunk to community-staging-any
Added:
python-aniso8601/repos/community-staging-any/PKGBUILD
(from rev 521472, python-aniso8601/trunk/PKGBUILD)
Deleted:
python-aniso8601/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:55:42 UTC (rev 521472)
+++ PKGBUILD 2019-10-31 17:55:46 UTC (rev 521473)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-aniso8601
-pkgname=(python-aniso8601 python2-aniso8601)
-pkgver=8.0.0
-pkgrel=2
-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'
- 'python-mock' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://bitbucket.org/nielsenb/aniso8601/get/v$pkgver.tar.gz")
-sha512sums=('111bf07955795cf418971d4c9d776b91e3e4aa276d6dda78581f1d42b49e30ed67bb0f4fdbc2efeebaf4dbdfed2afe78084dc350dcda0d41afd92ccb821a2e1d')
-
-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-staging-any/PKGBUILD (from rev 521472, python-aniso8601/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:55:46 UTC (rev 521473)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-aniso8601
+pkgname=(python-aniso8601 python2-aniso8601)
+pkgver=8.0.0
+pkgrel=3
+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'
+ 'python-mock' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://bitbucket.org/nielsenb/aniso8601/get/v$pkgver.tar.gz")
+sha512sums=('111bf07955795cf418971d4c9d776b91e3e4aa276d6dda78581f1d42b49e30ed67bb0f4fdbc2efeebaf4dbdfed2afe78084dc350dcda0d41afd92ccb821a2e1d')
+
+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