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

Felix Yan felixonmars at archlinux.org
Fri Nov 1 13:51:43 UTC 2019


    Date: Friday, November 1, 2019 @ 13:51:42
  Author: felixonmars
Revision: 521946

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-01 13:51:32 UTC (rev 521945)
+++ PKGBUILD	2019-11-01 13:51:42 UTC (rev 521946)
@@ -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=3
-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-staging-any/PKGBUILD (from rev 521945, python-click-plugins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-01 13:51:42 UTC (rev 521946)
@@ -0,0 +1,50 @@
+# 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"
+}



More information about the arch-commits mailing list