[arch-commits] Commit in python-sphinx-argparse-cli/repos/community-any (2 files)

Filipe Laíns ffy00 at archlinux.org
Fri Feb 19 16:12:48 UTC 2021


    Date: Friday, February 19, 2021 @ 16:12:48
  Author: ffy00
Revision: 865956

archrelease: copy trunk to community-any

Added:
  python-sphinx-argparse-cli/repos/community-any/PKGBUILD
    (from rev 865955, python-sphinx-argparse-cli/trunk/PKGBUILD)
Deleted:
  python-sphinx-argparse-cli/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-19 16:12:44 UTC (rev 865955)
+++ PKGBUILD	2021-02-19 16:12:48 UTC (rev 865956)
@@ -1,40 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=sphinx-argparse-cli
-pkgname=python-$_pkgname
-pkgver=1.5.0
-pkgrel=1
-pkgdesc='Render CLI arguments (sub-commands friendly) defined by argparse module'
-arch=('any')
-url='https://github.com/gaborbernat/sphinx-argparse-cli'
-license=('MIT')
-depends=('python' 'python-sphinx' 'python-docutils-stubs')
-makedepends=('python-setuptools')
-#checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('95b5ef079620ddbe02e14e120fb58abbb053ae7643c465be0d0bb4888b32ac9e968e0043e6871b09a40abb5c461bcb13c8acd406e4a5859d4086c888409bbad3')
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-#check() {
-#  cd $_pkgname-$pkgver
-#
-#  python -m venv --system-site-packages test-env
-#  test-env/bin/python setup.py install --skip-build
-#
-#  test-env/bin/python -m pytest
-#}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-sphinx-argparse-cli/repos/community-any/PKGBUILD (from rev 865955, python-sphinx-argparse-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-19 16:12:48 UTC (rev 865956)
@@ -0,0 +1,41 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=sphinx-argparse-cli
+pkgname=python-$_pkgname
+pkgver=1.5.0
+pkgrel=2
+pkgdesc='Render CLI arguments (sub-commands friendly) defined by argparse module'
+arch=('any')
+url='https://github.com/gaborbernat/sphinx-argparse-cli'
+license=('MIT')
+depends=('python' 'python-sphinx' 'python-docutils-stubs')
+makedepends=('python-setuptools-scm')
+#checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('95b5ef079620ddbe02e14e120fb58abbb053ae7643c465be0d0bb4888b32ac9e968e0043e6871b09a40abb5c461bcb13c8acd406e4a5859d4086c888409bbad3')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  echo "__version__: str = '$pkgver'" > src/sphinx_argparse_cli/version.py
+  python setup.py build
+}
+
+#check() {
+#  cd $_pkgname-$pkgver
+#
+#  python -m venv --system-site-packages test-env
+#  test-env/bin/python setup.py install --skip-build
+#
+#  test-env/bin/python -m pytest
+#}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list