[arch-commits] Commit in python-awesomeversion/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Sun Jan 9 17:10:52 UTC 2022
Date: Sunday, January 9, 2022 @ 17:10:52
Author: jelle
Revision: 1098364
archrelease: copy trunk to community-any
Added:
python-awesomeversion/repos/community-any/PKGBUILD
(from rev 1098363, python-awesomeversion/trunk/PKGBUILD)
Deleted:
python-awesomeversion/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-09 17:10:47 UTC (rev 1098363)
+++ PKGBUILD 2022-01-09 17:10:52 UTC (rev 1098364)
@@ -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.12.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=('4ee18bea7880ce0eb5569bae5e5657ddbd0792aef49e288bfdb2e5190494f8df8303439e554fa6a94abf23105272b356bc4171d6084b95aedfcc4861076dd7b7')
-
-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 1098363, python-awesomeversion/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-09 17:10:52 UTC (rev 1098364)
@@ -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=22.1.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=('bcd837524499e92a2259b75b52902d9a2996a53c42cd2cfe220ae319adfe8e3695494c8cf293b70373f349f249abefc5707ede69886c317e835db05599923b0c')
+
+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