[arch-commits] Commit in python-click-plugins/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Tue May 12 19:28:05 UTC 2020


    Date: Tuesday, May 12, 2020 @ 19:28:04
  Author: jelle
Revision: 627193

archrelease: copy trunk to community-any

Added:
  python-click-plugins/repos/community-any/PKGBUILD
    (from rev 627192, python-click-plugins/trunk/PKGBUILD)
Deleted:
  python-click-plugins/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   85 +++++++++++++++++++++++++------------------------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 19:27:45 UTC (rev 627192)
+++ PKGBUILD	2020-05-12 19:28:04 UTC (rev 627193)
@@ -1,50 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Matthew McGinn <mamcgi at gmail.com>
-# Contributor: Carl George < arch at cgtx dot us >
-
-_name="click-plugins"
-pkgname=("python-click-plugins" "python2-click-plugins")
-pkgver=1.1.1
-pkgrel=4
-pkgdesc="An extension module for click to enable registering CLI commands via setuptools entry-points."
-arch=("any")
-url="https://github.com/click-contrib/click-plugins"
-license=("BSD")
-depends=("python-click")
-makedepends=("python-setuptools" "python2-setuptools")
-checkdepends=("python-pytest" "python2-pytest" "python-click" "python2-click")
-source=("https://pypi.python.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('46ab999744a9d831159c3411bb0c79346d94a444df9a3a3742e9ed63645f264b')
-
-prepare() {
-    cp -a "$srcdir/$_name-$pkgver" "$srcdir/$_name-$pkgver-python2"
-}
-
-build() {
-    cd "$srcdir/$_name-$pkgver"
-    python setup.py build
-    cd "$srcdir/$_name-$pkgver-python2"
-    python2 setup.py build
-}
-
-check() {
-    export LC_ALL="en_US.UTF-8"
-    cd "$srcdir/$_name-$pkgver"
-    py.test tests
-    cd "$srcdir/$_name-$pkgver-python2"
-    py.test2 tests
-}
-
-package_python-click-plugins() {
-    depends=("python-click")
-    cd "$srcdir/$_name-$pkgver"
-    python setup.py install --skip-build --root="$pkgdir" --optimize=1
-    install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-click-plugins() {
-    depends=("python2-click")
-    cd "$srcdir/$_name-$pkgver-python2"
-    python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-    install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-click-plugins/repos/community-any/PKGBUILD (from rev 627192, python-click-plugins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-12 19:28:04 UTC (rev 627193)
@@ -0,0 +1,35 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Matthew McGinn <mamcgi at gmail.com>
+# Contributor: Carl George < arch at cgtx dot us >
+
+_name="click-plugins"
+pkgname=python-click-plugins
+pkgver=1.1.1
+pkgrel=5
+pkgdesc="An extension module for click to enable registering CLI commands via setuptools entry-points."
+arch=("any")
+url="https://github.com/click-contrib/click-plugins"
+license=("BSD")
+depends=("python-click")
+makedepends=("python-setuptools")
+checkdepends=("python-pytest" "python-click")
+source=("https://pypi.python.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('46ab999744a9d831159c3411bb0c79346d94a444df9a3a3742e9ed63645f264b')
+
+build() {
+    cd "$srcdir/$_name-$pkgver"
+    python setup.py build
+}
+
+check() {
+    export LC_ALL="en_US.UTF-8"
+    cd "$srcdir/$_name-$pkgver"
+    py.test tests
+}
+
+package() {
+    depends=("python-click")
+    cd "$srcdir/$_name-$pkgver"
+    python setup.py install --skip-build --root="$pkgdir" --optimize=1
+    install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list