[arch-commits] Commit in python-awesomeversion/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Thu Aug 25 18:54:18 UTC 2022
Date: Thursday, August 25, 2022 @ 18:54:18
Author: jelle
Revision: 1279964
archrelease: copy trunk to community-any
Added:
python-awesomeversion/repos/community-any/PKGBUILD
(from rev 1279963, python-awesomeversion/trunk/PKGBUILD)
Deleted:
python-awesomeversion/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-25 18:54:13 UTC (rev 1279963)
+++ PKGBUILD 2022-08-25 18:54:18 UTC (rev 1279964)
@@ -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.6.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=('dbc6966f48cf001c1c8606f31c36a8e4272c6915cda5b7378c9014957f88c82870382f99861624eaaa4821f7054c3751e097e3bce2a38dc5fc9a075c4fe9ac6c')
-
-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 1279963, python-awesomeversion/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-25 18:54:18 UTC (rev 1279964)
@@ -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.8.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=('4036c64004bb4803f2056557899b5ca670339148b5ff63d209bdaab39224780ca283ef4029ae1836fb7b84c365cfe187457619b5bdadfc409fbbd6a9bee5f4fb')
+
+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