Date: Monday, March 20, 2023 @ 22:26:06
Author: dvzrv
Revision: 1424518
archrelease: copy trunk to community-any
Added:
python-click-command-tree/repos/community-any/PKGBUILD
(from rev 1424517, python-click-command-tree/trunk/PKGBUILD)
Deleted:
python-click-command-tree/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-20 22:25:54 UTC (rev 1424517)
+++ PKGBUILD 2023-03-20 22:26:06 UTC (rev 1424518)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=click-command-tree
-pkgname=python-click-command-tree
-pkgver=1.1.0
-pkgrel=1
-pkgdesc="Click plugin to show the command tree of your CLI"
-arch=(any)
-url="https://github.com/whwright/click-command-tree"
-license=(MIT)
-depends=(python python-click)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-checkdepends=(python-pytest)
-# tests not in sdist tarball:
https://github.com/whwright/click-command-tree/issues/5
-#
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-source=($_name-$pkgver.tar.gz::https://github.com/whwright/$_name/archive/refs/tags/$pkgver.tar.gz)
-sha256sums=('4cdbb2eb8f83134acb9400cf9b61bcce2f9533a4c2d004fe60a72a2a2142361a')
-b2sums=('5a8626c747cefb670dfa0443a1ec0a6a4c613cc4593a001e5991ed6e5f3ac2c545312927885af02dc3ca9d60092d55605c56000b74eb6dcf2a505dbc645812c8')
-
-prepare() {
- cd $_name-$pkgver
- # flake8 is not required for building the project:
https://github.com/whwright/click-command-tree/issues/4
- sed -e '/flake8/d' -i setup.py
-}
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd $_name-$pkgver
- pytest -vv tests.py
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
-}
Copied: python-click-command-tree/repos/community-any/PKGBUILD (from rev
1424517, python-click-command-tree/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-20 22:26:06 UTC (rev 1424518)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=click-command-tree
+pkgname=python-click-command-tree
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="Click plugin to show the command tree of your CLI"
+arch=(any)
+url="https://github.com/whwright/click-command-tree"
+license=(MIT)
+depends=(python python-click)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest)
+# tests not in sdist tarball:
https://github.com/whwright/click-command-tree/issues/5
+#
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+source=($_name-$pkgver.tar.gz::https://github.com/whwright/$_name/archive/refs/tags/$pkgver.tar.gz)
+sha256sums=('0bb9c223cedf72af004ae6ba6daf916a21300d03d5fb8e939a7265fbe481f6d2')
+b2sums=('7fc40e8273c05aedb8f71ddfe33d640761f3fe8c02afdb8973828b8c247910c67e7469aa43e41bc003dadd741736c0b4ffc48d146cd417051a4b939299a49033')
+
+prepare() {
+ cd $_name-$pkgver
+ # flake8 is not required for building the project:
https://github.com/whwright/click-command-tree/issues/4
+ sed -e '/flake8/d' -i setup.py
+}
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ pytest -vv tests.py
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}