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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 21:31:47 UTC 2021


    Date: Wednesday, December 1, 2021 @ 21:31:46
  Author: foutrelis
Revision: 1060757

archrelease: copy trunk to community-staging-any

Added:
  python-awesomeversion/repos/community-staging-any/PKGBUILD
    (from rev 1060755, python-awesomeversion/trunk/PKGBUILD)
Deleted:
  python-awesomeversion/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 21:31:46 UTC (rev 1060756)
+++ PKGBUILD	2021-12-01 21:31:46 UTC (rev 1060757)
@@ -1,41 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Giovanni Harting <539 at idlegandalf.com>
-
-pkgname=python-awesomeversion
-_name=${pkgname#python-}
-pkgver=21.11.0
-pkgrel=2
-pkgdesc="One version package to rule them all."
-arch=('any')
-url="https://github.com/ludeeus/awesomeversion"
-license=('MIT')
-depends=(python)
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ludeeus/$_name/archive/refs/tags/$pkgver.tar.gz")
-sha512sums=('b8e5041a7a81c11a8ddab1c54b07be6fabf003057990c13a91197a9a24b678bcc6ce866f6ac0e180ec36cba41a4dd18e5d719421ba6dcb52d41347b758331e3f')
-
-prepare() {
-    cd $_name-$pkgver
-
-    # replace version "main" with correct version
-    sed -e "s|version=\"main\"|version=\"$pkgver\"|" -i setup.py
-}
-
-check() {
-    cd $_name-$pkgver
-    PYTHONPATH=. pytest tests
-}
-
-build() {
-    cd $_name-$pkgver
-
-    python setup.py build
-}
-
-package() {
-    cd $_name-$pkgver
-
-    python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
-    install -Dm644 LICENCE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-awesomeversion/repos/community-staging-any/PKGBUILD (from rev 1060755, python-awesomeversion/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 21:31:46 UTC (rev 1060757)
@@ -0,0 +1,41 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Giovanni Harting <539 at idlegandalf.com>
+
+pkgname=python-awesomeversion
+_name=${pkgname#python-}
+pkgver=21.11.0
+pkgrel=3
+pkgdesc="One version package to rule them all."
+arch=('any')
+url="https://github.com/ludeeus/awesomeversion"
+license=('MIT')
+depends=(python)
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ludeeus/$_name/archive/refs/tags/$pkgver.tar.gz")
+sha512sums=('b8e5041a7a81c11a8ddab1c54b07be6fabf003057990c13a91197a9a24b678bcc6ce866f6ac0e180ec36cba41a4dd18e5d719421ba6dcb52d41347b758331e3f')
+
+prepare() {
+    cd $_name-$pkgver
+
+    # replace version "main" with correct version
+    sed -e "s|version=\"main\"|version=\"$pkgver\"|" -i setup.py
+}
+
+check() {
+    cd $_name-$pkgver
+    PYTHONPATH=. pytest tests
+}
+
+build() {
+    cd $_name-$pkgver
+
+    python setup.py build
+}
+
+package() {
+    cd $_name-$pkgver
+
+    python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+    install -Dm644 LICENCE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list