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

Evangelos Foutras foutrelis at archlinux.org
Thu Oct 31 17:21:28 UTC 2019


    Date: Thursday, October 31, 2019 @ 17:21:28
  Author: foutrelis
Revision: 521333

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-31 17:21:24 UTC (rev 521332)
+++ PKGBUILD	2019-10-31 17:21:28 UTC (rev 521333)
@@ -1,57 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-entrypoints
-pkgname=(python-entrypoints python2-entrypoints)
-_name=entrypoints
-pkgver=0.3
-pkgrel=2
-pkgdesc="Discover and load entry points from installed packages."
-arch=('any')
-url="https://github.com/takluyver/entrypoints"
-#url="https://pypi.python.org/pypi/entrypoints"
-license=('MIT')
-depends=('python')
-makedepends=('python' 'python2-setuptools')
-#makedepends=('python-pip')
-# several sources because the WHL doesn't come with a license
-# and pypi version is the only one with setup.py
-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"
-        "$pkgname-pypi-$pkgver.tgz::https://pypi.io/packages/source/e/$_name/$_name-$pkgver.tar.gz")
-md5sums=('3b2d456ff069b080aa95f162a53a6679'
-         'c47396b6c43dadc81e25d29b9fac8bd3'
-         'c5c61ea2e46a0c50ea08f4af7955a0b1')
-
-prepare() {
-  cd "$srcdir"
-  cp -a entrypoints-$pkgver py2entrypoints-$pkgver
-}
-
-build() {
-  cd py2entrypoints-$pkgver
-  python2 setup.py build
-}
-
-package_python-entrypoints() {
-  cd "$srcdir"
-  # install is like this because of dist-info related bug report
-  # 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.8/site-packages/entrypoints.py"
-  _dist="entrypoints-$pkgver.dist-info"
-  cd $_dist
-  for _i in ./*; do
-    install -Dm644 $_i "$pkgdir/usr/lib/python3.8/site-packages/$_dist/$_i"
-  done
-
-  cd "$srcdir/entrypoints-$pkgver"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-entrypoints() {
-  depends=('python2-configparser')
-  cd py2entrypoints-$pkgver
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: python-entrypoints/repos/community-staging-any/PKGBUILD (from rev 521332, python-entrypoints/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-31 17:21:28 UTC (rev 521333)
@@ -0,0 +1,57 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-entrypoints
+pkgname=(python-entrypoints python2-entrypoints)
+_name=entrypoints
+pkgver=0.3
+pkgrel=3
+pkgdesc="Discover and load entry points from installed packages."
+arch=('any')
+url="https://github.com/takluyver/entrypoints"
+#url="https://pypi.python.org/pypi/entrypoints"
+license=('MIT')
+depends=('python')
+makedepends=('python' 'python2-setuptools')
+#makedepends=('python-pip')
+# several sources because the WHL doesn't come with a license
+# and pypi version is the only one with setup.py
+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"
+        "$pkgname-pypi-$pkgver.tgz::https://pypi.io/packages/source/e/$_name/$_name-$pkgver.tar.gz")
+md5sums=('3b2d456ff069b080aa95f162a53a6679'
+         'c47396b6c43dadc81e25d29b9fac8bd3'
+         'c5c61ea2e46a0c50ea08f4af7955a0b1')
+
+prepare() {
+  cd "$srcdir"
+  cp -a entrypoints-$pkgver py2entrypoints-$pkgver
+}
+
+build() {
+  cd py2entrypoints-$pkgver
+  python2 setup.py build
+}
+
+package_python-entrypoints() {
+  cd "$srcdir"
+  # install is like this because of dist-info related bug report
+  # 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.8/site-packages/entrypoints.py"
+  _dist="entrypoints-$pkgver.dist-info"
+  cd $_dist
+  for _i in ./*; do
+    install -Dm644 $_i "$pkgdir/usr/lib/python3.8/site-packages/$_dist/$_i"
+  done
+
+  cd "$srcdir/entrypoints-$pkgver"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-entrypoints() {
+  depends=('python2-configparser')
+  cd py2entrypoints-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list