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

Kyle Keen kkeen at archlinux.org
Wed Mar 8 03:29:00 UTC 2017


    Date: Wednesday, March 8, 2017 @ 03:29:00
  Author: kkeen
Revision: 215274

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   55 ++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 34 insertions(+), 21 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-08 03:28:29 UTC (rev 215273)
+++ PKGBUILD	2017-03-08 03:29:00 UTC (rev 215274)
@@ -1,21 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=python-entrypoints
-pkgver=0.2.2
-pkgrel=2
-pkgdesc="https://pypi.python.org/pypi/entrypoints"
-arch=('any')
-url="https://github.com/takluyver/entrypoints"
-license=('MIT')
-depends=('python')
-source=("https://github.com/takluyver/entrypoints/archive/$pkgver.tar.gz")
-md5sums=('7dae980f7c6affd777dc60a51c8d0b0b')
-
-package() {
-  cd "$srcdir/entrypoints-$pkgver"
-  # no setup/makefile provided
-  install -Dm644 entrypoints.py "$pkgdir/usr/lib/python3.6/site-packages/entrypoints.py"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-

Copied: python-entrypoints/repos/community-any/PKGBUILD (from rev 215273, python-entrypoints/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-03-08 03:29:00 UTC (rev 215274)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-entrypoints
+_name=entrypoints
+pkgver=0.2.2
+pkgrel=3
+pkgdesc="https://pypi.python.org/pypi/entrypoints"
+arch=('any')
+url="https://github.com/takluyver/entrypoints"
+license=('MIT')
+depends=('python')
+#makedepends=('python-pip')
+# both sources because the WHL doesn't come with a license
+source=("$pkgname-$pkgver.tgz::https://github.com/takluyver/entrypoints/archive/$pkgver.tar.gz"
+        "https://files.pythonhosted.org/packages/py2.py3/e/$_name/$_name-$pkgver-py2.py3-none-any.whl")
+md5sums=('7dae980f7c6affd777dc60a51c8d0b0b'
+         '73bd7ce92c19b25dc5a20aff41be996a')
+
+package() {
+  cd "$srcdir"
+  # pip actually doesn't do much and is remarkably slow
+  #pip install --compile --no-deps --ignore-installed --root="$pkgdir" *.whl
+  install -Dm644 entrypoints.py "$pkgdir/usr/lib/python3.6/site-packages/entrypoints.py"
+  _dist="entrypoints-$pkgver.dist-info"
+  cd $_dist
+  for _i in ./*; do
+    install -Dm644 $_i "$pkgdir/usr/lib/python3.6/site-packages/$_dist/$_i"
+  done
+
+  cd "$srcdir/entrypoints-$pkgver"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+


More information about the arch-commits mailing list