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

Jelle van der Waa jelle at gemini.archlinux.org
Mon Apr 4 16:01:50 UTC 2022


    Date: Monday, April 4, 2022 @ 16:01:49
  Author: jelle
Revision: 1181299

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-04 16:01:41 UTC (rev 1181298)
+++ PKGBUILD	2022-04-04 16:01:49 UTC (rev 1181299)
@@ -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=22.2.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-build python-installer python-poetry)
-checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ludeeus/$_name/archive/refs/tags/$pkgver.tar.gz")
-sha512sums=('ea371000e9c54bd53bf809f7eb9e2b09779c689c3b8a85820caac291b97feb933e5d9fbf384df576267b66e13ec8a1af422d7abdeab4cdfe1be00b88b9474dfe')
-
-prepare() {
-    cd $_name-$pkgver
-    # version = "0"
-    sed -e "s|version = \"0\"|version = \"$pkgver\"|" -i pyproject.toml
-    cat pyproject.toml
-}
-
-check() {
-    cd $_name-$pkgver
-    PYTHONPATH=. pytest tests
-}
-
-build() {
-    cd $_name-$pkgver
-
-    python -m build --wheel --no-isolation
-}
-
-package() {
-    cd $_name-$pkgver
-
-    python -m installer --destdir="$pkgdir" dist/*.whl
-    install -Dm644 LICENCE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-awesomeversion/repos/community-any/PKGBUILD (from rev 1181298, python-awesomeversion/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-04 16:01:49 UTC (rev 1181299)
@@ -0,0 +1,40 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Giovanni Harting <539 at idlegandalf.com>
+
+pkgname=python-awesomeversion
+_name=${pkgname#python-}
+pkgver=22.4.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-build python-installer python-poetry)
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ludeeus/$_name/archive/refs/tags/$pkgver.tar.gz")
+sha512sums=('f89c2117b32629ded5252a3765bae1ef62cfcea14dc63edd8d0f5d40a7c5bcae3f54112ad3de45ac1d10425709ff61827bcd976c19c119caf70c0afc5b75cfa1')
+
+prepare() {
+    cd $_name-$pkgver
+    # version = "0"
+    sed -e "s|version = \"0\"|version = \"$pkgver\"|" -i pyproject.toml
+}
+
+check() {
+    cd $_name-$pkgver
+    PYTHONPATH=. pytest tests
+}
+
+build() {
+    cd $_name-$pkgver
+
+    python -m build --wheel --no-isolation
+}
+
+package() {
+    cd $_name-$pkgver
+
+    python -m installer --destdir="$pkgdir" dist/*.whl
+    install -Dm644 LICENCE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list