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

Felix Yan felixonmars at gemini.archlinux.org
Mon Feb 14 16:48:58 UTC 2022


    Date: Monday, February 14, 2022 @ 16:48:58
  Author: felixonmars
Revision: 1133190

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-14 16:48:50 UTC (rev 1133189)
+++ PKGBUILD	2022-02-14 16:48:58 UTC (rev 1133190)
@@ -1,32 +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>
-
-pkgname=python-semantic-version
-pkgver=2.8.5
-pkgrel=5
-pkgdesc="A library implementing the 'SemVer' scheme."
-url="https://github.com/rbarrois/python-semanticversion"
-license=('BSD')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-django')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rbarrois/python-semanticversion/archive/$pkgver.tar.gz")
-sha512sums=('e59508b12ac0f1b46f1d97f633f5bead99c41542c51c2714a4074eda9da6a04cd103be20eafd031b541834b6ee99b4f9f9ee9baec58b9f8a313d0c727aeab68d')
-
-build() {
-  cd python-semanticversion-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd python-semanticversion-$pkgver
-  py.test
-}
-
-package() {
-  cd python-semanticversion-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-semantic-version/repos/community-any/PKGBUILD (from rev 1133189, python-semantic-version/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-14 16:48:58 UTC (rev 1133190)
@@ -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.9.0
+pkgrel=1
+pkgdesc="A library implementing the 'SemVer' scheme."
+url="https://github.com/rbarrois/python-semanticversion"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-django')
+source=("https://github.com/rbarrois/python-semanticversion/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('6db53e9993b635a7bb2e2b168329d359136d914fb146aa5102a5cd0e8395978942fa84e7bed0fdb00b1768b1acd38e1a1b0cedfdc2efc073dddf4973178043db')
+
+build() {
+  cd python-semanticversion-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-semanticversion-$pkgver
+  python setup.py egg_info
+  pytest
+}
+
+package() {
+  cd python-semanticversion-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list