[arch-commits] Commit in python-awesomeversion/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Tue Nov 23 09:15:03 UTC 2021


    Date: Tuesday, November 23, 2021 @ 09:15:03
  Author: jelle
Revision: 1054431

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-23 09:14:54 UTC (rev 1054430)
+++ PKGBUILD	2021-11-23 09:15:03 UTC (rev 1054431)
@@ -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.10.1
-pkgrel=1
-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=('929ece5e701c4e2e827cc12378a7e3174c42af417fab849549836c89dfdba83241d4a9c885809429c7a686f0f2a13e478120c52c435989cb325a3a7046d27e24')
-
-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-any/PKGBUILD (from rev 1054430, python-awesomeversion/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-23 09:15:03 UTC (rev 1054431)
@@ -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=1
+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