[arch-commits] Commit in python-semantic-version/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 05:36:34 UTC 2019


    Date: Monday, November 4, 2019 @ 05:36:33
  Author: felixonmars
Revision: 523217

archrelease: copy trunk to community-staging-any

Added:
  python-semantic-version/repos/community-staging-any/PKGBUILD
    (from rev 523216, python-semantic-version/trunk/PKGBUILD)
Deleted:
  python-semantic-version/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   87 +++++++++++++++++++++++--------------------------------------
 1 file changed, 33 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-04 05:36:17 UTC (rev 523216)
+++ PKGBUILD	2019-11-04 05:36:33 UTC (rev 523217)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-semantic-version
-pkgname=(python-semantic-version python2-semantic-version)
-pkgver=2.6.0
-pkgrel=3
-pkgdesc="A library implementing the 'SemVer' scheme."
-url="https://github.com/rbarrois/semantic-version"
-license=('BSD')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest') # 'python-django' 'python2-django') Test hangs
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/rbarrois/python-semanticversion/archive/v$pkgver.tar.gz")
-sha512sums=('18db9279c2728565b13362c54bedbf569f0878cbe6bb58e631d87ffe7cff7d9131a30a2592cbf511091c03e854851159bbb298fe7469f53e8a2d92cf26ab4d0b')
-
-prepare() {
-  cp -a python-semanticversion-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/python-semanticversion-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/python-semanticversion-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/python-semanticversion-$pkgver
-  rm tests/test_django.py
-  py.test
-
-  cd "$srcdir"/python-semanticversion-$pkgver-py2
-  rm tests/test_django.py
-  py.test2
-}
-
-package_python-semantic-version() {
-  depends=('python')
-
-  cd python-semanticversion-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-semantic-version() {
-  depends=('python2')
-
-  cd python-semanticversion-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-semantic-version/repos/community-staging-any/PKGBUILD (from rev 523216, python-semantic-version/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-04 05:36:33 UTC (rev 523217)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-semantic-version
+pkgver=2.6.0
+pkgrel=4
+pkgdesc="A library implementing the 'SemVer' scheme."
+url="https://github.com/rbarrois/semantic-version"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest') # 'python-django') Test hangs
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/rbarrois/python-semanticversion/archive/v$pkgver.tar.gz")
+sha512sums=('18db9279c2728565b13362c54bedbf569f0878cbe6bb58e631d87ffe7cff7d9131a30a2592cbf511091c03e854851159bbb298fe7469f53e8a2d92cf26ab4d0b')
+
+build() {
+  cd "$srcdir"/python-semanticversion-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-semanticversion-$pkgver
+  rm tests/test_django.py
+  py.test
+}
+
+package() {
+  cd python-semanticversion-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list