[arch-commits] Commit in python-semver/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu May 14 05:20:03 UTC 2020
Date: Thursday, May 14, 2020 @ 05:20:02
Author: felixonmars
Revision: 627832
archrelease: copy trunk to community-any
Added:
python-semver/repos/community-any/PKGBUILD
(from rev 627831, python-semver/trunk/PKGBUILD)
Deleted:
python-semver/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-14 05:19:46 UTC (rev 627831)
+++ PKGBUILD 2020-05-14 05:20:02 UTC (rev 627832)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-semver
-pkgver=2.10.0
-pkgrel=1
-pkgdesc="Python helper for Semantic Versioning"
-url="https://github.com/k-bx/python-semver"
-license=('BSD')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-pytest-cov')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/k-bx/python-semver/archive/$pkgver.tar.gz")
-sha512sums=('84f34d78ae8ea880857c0380a29e64728deffb22216228ed79b17bd065529eb5b69667599be90faee5b851f1a909412f848dba7625a40696c7db8de1d067c24a')
-
-prepare() {
- sed -i '/tests_require/d' python-semver-$pkgver/setup.py
-}
-
-build() {
- cd "$srcdir"/python-semver-$pkgver
- python setup.py build
-}
-
-check() {
- cd "$srcdir"/python-semver-$pkgver
- python setup.py pytest
-}
-
-package() {
- cd python-semver-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
Copied: python-semver/repos/community-any/PKGBUILD (from rev 627831, python-semver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-14 05:20:02 UTC (rev 627832)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-semver
+pkgver=2.10.1
+pkgrel=1
+pkgdesc="Python helper for Semantic Versioning"
+url="https://github.com/k-bx/python-semver"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-cov')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/k-bx/python-semver/archive/$pkgver.tar.gz")
+sha512sums=('6abd02f109836c956967ef60c882269818402b771d25a5f243628b6b651bcf9246bbf5b09fac746e65d8c54ffc7b42f21be6cb6dd20487b987a5976995bae51c')
+
+prepare() {
+ sed -i '/tests_require/d' python-semver-$pkgver/setup.py
+}
+
+build() {
+ cd "$srcdir"/python-semver-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-semver-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd python-semver-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
More information about the arch-commits
mailing list