Date: Tuesday, October 9, 2018 @ 00:32:44
  Author: dvzrv
Revision: 391266

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 41 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-10-09 00:32:37 UTC (rev 391265)
+++ PKGBUILD    2018-10-09 00:32:44 UTC (rev 391266)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: David Runge <d...@sleepmap.de>
-_name=click-repl
-pkgname=python-click-repl
-pkgver=0.1.4
-pkgrel=2
-pkgdesc="Subcommand REPL for click apps"
-arch=('any')
-url="https://github.com/click-contrib/click-repl";
-license=('MIT')
-depends=('python-click' 'python-prompt_toolkit' 'python-six')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";
-        
"https://raw.githubusercontent.com/click-contrib/${_name}/master/LICENSE";)
-sha512sums=('e7823f4ad4a091e5b0fe452f2fbfccb16dca8948cf8780a40345d38dbb0ea16166812eec82de609d2fbc25911e287b4386dfbe84104c911172e2e1e5e580e8d8'
-            
'537efc15653eae847ab9418e36724a67cd27ad3b7adf8d925b24b209975e5289558b61209348c421a9b2abb180b86504488f2c3929b42e38500496de99edc339')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-# no tests in 0.1.4 yet
-#check() {
-#  cd "$pkgname-$pkgver"
-#  export PYTHONPATH="${PYTHONPATH}:${PWD}/build/lib/"
-#  py.test
-#}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  install -vDm 644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-}

Copied: python-click-repl/repos/community-any/PKGBUILD (from rev 391265, 
python-click-repl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-10-09 00:32:44 UTC (rev 391266)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <d...@sleepmap.de>
+_name=click-repl
+pkgname=python-click-repl
+pkgver=0.1.5
+pkgrel=1
+pkgdesc="Subcommand REPL for click apps"
+arch=('any')
+url="https://github.com/click-contrib/click-repl";
+license=('MIT')
+depends=('python-click' 'python-prompt_toolkit' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha512sums=('19e309ca24348f0b8fd7874b2ec41cd6f2e5b0c52351b17f7fc768699cb499b149385a0d968134d33bdcf55c794be30574a560452dcbebcd87a74c18cbb4df19')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+# no tests in pypi source:
+# https://github.com/click-contrib/click-repl/issues/49
+#check() {
+#  cd "$pkgname-$pkgver"
+#  export PYTHONPATH="${PYTHONPATH}:${PWD}/build/lib/"
+#  py.test
+#}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}

Reply via email to