Date: Thursday, November 24, 2022 @ 14:03:18
Author: alerque
Revision: 1352606
archrelease: copy trunk to community-any
Added:
python-cleo/repos/community-any/PKGBUILD
(from rev 1352605, python-cleo/trunk/PKGBUILD)
Deleted:
python-cleo/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-24 14:03:10 UTC (rev 1352605)
+++ PKGBUILD 2022-11-24 14:03:18 UTC (rev 1352606)
@@ -1,47 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-
-_pkgname=cleo
-pkgname=python-cleo
-pkgver=2.0.0
-pkgrel=1
-pkgdesc="create beautiful and testable command-line interfaces"
-arch=(any)
-url="https://github.com/python-poetry/$_pkgname"
-license=(MIT)
-depends=(python-crashtest
- python-pylev)
-makedepends=(python-{build,installer,wheel}
- python-poetry-core)
-checkdepends=(python-pytest
- python-pytest-mock
- python-rapidfuzz)
-_archive="$_pkgname-$pkgver"
-source=("$url/archive/$pkgver/$_archive.tar.gz")
-sha256sums=('3f46178e2cd0e76c0f1f763e48f9053ef5bd6c77111899607f897a1a81ea7b1d')
-b2sums=('98d7834b674253cd93574ba57b81247fa987f23afb251bbb62e5f237514001e88522003a753251e5a0d7cd5d810f90315b7c70b979d28871ae3fe4296924d620')
-
-prepare() {
- cd "$_archive"
- # we do not use overly strict version constraints
- sed -e 's/\^/>=/g' \
- -e 's/~=/>=/g' \
- -i pyproject.toml
-}
-
-build(){
- cd "$_archive"
- python -m build -wn
-}
-
-check() {
- cd "$_archive"
- export PYTHONPATH="$PWD/src"
- pytest -vv
-}
-
-package() {
- cd "$_archive"
- python -m installer -d "$pkgdir" dist/*.whl
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
Copied: python-cleo/repos/community-any/PKGBUILD (from rev 1352605,
python-cleo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-24 14:03:18 UTC (rev 1352606)
@@ -0,0 +1,47 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+
+_pkgname=cleo
+pkgname=python-cleo
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="create beautiful and testable command-line interfaces"
+arch=(any)
+url="https://github.com/python-poetry/$_pkgname"
+license=(MIT)
+depends=(python-crashtest
+ python-pylev)
+makedepends=(python-{build,installer,wheel}
+ python-poetry-core)
+checkdepends=(python-pytest
+ python-pytest-mock
+ python-rapidfuzz)
+_archive="$_pkgname-$pkgver"
+source=("$url/archive/$pkgver/$_archive.tar.gz")
+sha256sums=('cb9b60c9559d26a289b0536b134f9efe1b59632f51dc38b20c8a9076b99e0f07')
+b2sums=('dcaeff38c2dcb13b3c11200aa97cb2a1c16004558aabf9b44f1ba7ddd5d9c8c7784ea0ba1c50c19b015a6ff0659cb116b8ee926670091e39fd2b1cfd426cb72a')
+
+prepare() {
+ cd "$_archive"
+ # we do not use overly strict version constraints
+ sed -e 's/\^/>=/g' \
+ -e 's/~=/>=/g' \
+ -i pyproject.toml
+}
+
+build(){
+ cd "$_archive"
+ python -m build -wn
+}
+
+check() {
+ cd "$_archive"
+ export PYTHONPATH="$PWD/src"
+ pytest -vv
+}
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}