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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 18:20:24 UTC 2021


    Date: Tuesday, November 30, 2021 @ 18:20:24
  Author: felixonmars
Revision: 1057885

archrelease: copy trunk to community-staging-any

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

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

Copied: python-semantic-version/repos/community-staging-any/PKGBUILD (from rev 1057884, python-semantic-version/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 18:20:24 UTC (rev 1057885)
@@ -0,0 +1,32 @@
+# 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=4
+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
+}



More information about the arch-commits mailing list