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

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 11:03:35 UTC 2020


    Date: Wednesday, November 11, 2020 @ 11:03:35
  Author: foutrelis
Revision: 750745

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 11:03:33 UTC (rev 750744)
+++ PKGBUILD	2020-11-11 11:03:35 UTC (rev 750745)
@@ -1,56 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-entrypoints
-pkgname=(python-entrypoints python2-entrypoints)
-_name=entrypoints
-pkgver=0.3
-pkgrel=4
-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.9/site-packages/entrypoints.py"
-  _dist="entrypoints-$pkgver.dist-info"
-  cd $_dist
-  for _i in ./*; do
-    install -Dm644 $_i "$pkgdir/usr/lib/python3.9/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 750744, python-entrypoints/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 11:03:35 UTC (rev 750745)
@@ -0,0 +1,56 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-entrypoints
+pkgname=(python-entrypoints python2-entrypoints)
+_name=entrypoints
+pkgver=0.3
+pkgrel=5
+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.9/site-packages/entrypoints.py"
+  _dist="entrypoints-$pkgver.dist-info"
+  cd $_dist
+  for _i in ./*; do
+    install -Dm644 $_i "$pkgdir/usr/lib/python3.9/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