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

Kyle Keen kkeen at archlinux.org
Fri Oct 5 00:41:36 UTC 2018


    Date: Friday, October 5, 2018 @ 00:41:36
  Author: kkeen
Revision: 389694

archrelease: copy trunk to community-any

Added:
  python-testpath/repos/community-any/PKGBUILD
    (from rev 389693, python-testpath/trunk/PKGBUILD)
Deleted:
  python-testpath/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   93 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-05 00:41:23 UTC (rev 389693)
+++ PKGBUILD	2018-10-05 00:41:36 UTC (rev 389694)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Philipp A. <flying-sheep at web.de>
-_name=testpath
-pkgname=python-testpath
-pkgver=0.3.1
-pkgrel=2
-pkgdesc='Test utilities for code working with files and commands'
-arch=('any')
-url="http://pypi.python.org/pypi/testpath"
-license=('MIT')
-depends=('python')
-#makedepends=('python-pip')
-_wheel="$_name-$pkgver-py2.py3-none-any.whl"
-# both sources because the WHL doesn't come with a license
-source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/testpath/archive/$pkgver.tar.gz"
-        "https://files.pythonhosted.org/packages/py2.py3/t/$_name/$_wheel")
-#noextract=("$_wheel")
-md5sums=('b39b572b7e22570e679b924b6ed2dcdc'
-         '12728181294cf6f815421081d620c494')
-
-prepare() {
-  cd "$srcdir"
-  rm testpath/cli*.exe
-  sed -i '/cli-32.exe/d' testpath-$pkgver.dist-info/RECORD
-  sed -i '/cli-64.exe/d' testpath-$pkgver.dist-info/RECORD
-  sed -i 's/shutil.copy(src, dst)/return/' testpath/commands.py
-}
-
-package() {
-  #pip install --compile --no-deps --root="$pkgdir" "$_wheel"
-  # not using pip here because it installs windows junk
-
-  cd "$srcdir/testpath"
-  for _i in ./*; do
-    install -Dm644 $_i "$pkgdir/usr/lib/python3.7/site-packages/testpath/$_i"
-  done
-
-  _dist="testpath-$pkgver.dist-info"
-  cd "$srcdir/$_dist"
-  for _i in ./*; do
-    install -Dm644 $_i "$pkgdir/usr/lib/python3.7/site-packages/$_dist/$_i"
-  done
-
-  cd "$srcdir/testpath-$pkgver"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-testpath/repos/community-any/PKGBUILD (from rev 389693, python-testpath/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-05 00:41:36 UTC (rev 389694)
@@ -0,0 +1,46 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Philipp A. <flying-sheep at web.de>
+_name=testpath
+pkgname=python-testpath
+pkgver=0.4.2
+pkgrel=1
+pkgdesc='Test utilities for code working with files and commands'
+arch=('any')
+url="http://pypi.python.org/pypi/testpath"
+license=('MIT')
+depends=('python')
+#makedepends=('python-pip')
+_wheel="$_name-$pkgver-py2.py3-none-any.whl"
+# both sources because the WHL doesn't come with a license
+source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/testpath/archive/$pkgver.tar.gz"
+        "https://files.pythonhosted.org/packages/py2.py3/t/$_name/$_wheel")
+#noextract=("$_wheel")
+md5sums=('2f0971fb3f497275f5763c137c3380af'
+         '4128c6f88528e9cf5c7f6f40359e8380')
+
+prepare() {
+  cd "$srcdir"
+  rm testpath/cli*.exe
+  sed -i '/cli-32.exe/d' testpath-$pkgver.dist-info/RECORD
+  sed -i '/cli-64.exe/d' testpath-$pkgver.dist-info/RECORD
+  sed -i 's/shutil.copy(src, dst)/return/' testpath/commands.py
+}
+
+package() {
+  #pip install --compile --no-deps --root="$pkgdir" "$_wheel"
+  # not using pip here because it installs windows junk
+
+  cd "$srcdir/testpath"
+  for _i in ./*; do
+    install -Dm644 $_i "$pkgdir/usr/lib/python3.7/site-packages/testpath/$_i"
+  done
+
+  _dist="testpath-$pkgver.dist-info"
+  cd "$srcdir/$_dist"
+  for _i in ./*; do
+    install -Dm644 $_i "$pkgdir/usr/lib/python3.7/site-packages/$_dist/$_i"
+  done
+
+  cd "$srcdir/testpath-$pkgver"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list