[arch-commits] Commit in python-awesomeversion/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Wed May 12 22:26:42 UTC 2021
Date: Wednesday, May 12, 2021 @ 22:26:42
Author: jelle
Revision: 932763
archrelease: copy trunk to community-any
Added:
python-awesomeversion/repos/community-any/PKGBUILD
(from rev 932761, python-awesomeversion/trunk/PKGBUILD)
Deleted:
python-awesomeversion/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-12 22:26:41 UTC (rev 932762)
+++ PKGBUILD 2021-05-12 22:26:42 UTC (rev 932763)
@@ -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.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-setuptools')
-checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ludeeus/$_name/archive/refs/tags/$pkgver.tar.gz")
-sha512sums=('f52c8fee89df02ee077a5ca2b08d5c343c56a46d917cb89b3b165bec99dd682fc1651fd93ee9776824a3c27716544b7386aaecb15779f2fc1fba473ca8f7aeb7')
-
-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 932761, python-awesomeversion/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-12 22:26:42 UTC (rev 932763)
@@ -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.5.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=('1f8c8b34284a8179b798bf72dfadefd3317b7791d599f167bbceced80e4ff6a6698dd6d350308f110ea5cfa3bed9c222cda2bb25587c75d2cdc3c1191a6e25f2')
+
+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