[arch-commits] Commit in python-awesomeversion/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Sat Jun 4 11:14:11 UTC 2022
Date: Saturday, June 4, 2022 @ 11:14:11
Author: jelle
Revision: 1220790
archrelease: copy trunk to community-any
Added:
python-awesomeversion/repos/community-any/PKGBUILD
(from rev 1220789, python-awesomeversion/trunk/PKGBUILD)
Deleted:
python-awesomeversion/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-04 11:14:01 UTC (rev 1220789)
+++ PKGBUILD 2022-06-04 11:14:11 UTC (rev 1220790)
@@ -1,40 +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.5.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-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=('5b07f1b82822fde827dfec7ee8a19a1557fa054b166045cfd1b5c0d2a2fc32809a72699018f18443fc216e7580829271f3383ad653ba80eb45b3184bcbfc052e')
-
-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"
-}
Copied: python-awesomeversion/repos/community-any/PKGBUILD (from rev 1220789, python-awesomeversion/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-04 11:14:11 UTC (rev 1220790)
@@ -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.5.2
+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=('4fbd1e26c32b87f6f4ea1db6c5e4a5ad1ae8cc05e39a54f8855b239d8de97c9512c1e74ae5382a2c398534955b30c359157eae63e5ed86f630555245a6c1d875')
+
+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