[arch-commits] Commit in python2-entrypoints/repos (2 files)

Filipe Laíns ffy00 at archlinux.org
Mon Aug 20 19:43:05 UTC 2018


    Date: Monday, August 20, 2018 @ 19:43:05
  Author: ffy00
Revision: 372903

archrelease: copy trunk to community-any

Added:
  python2-entrypoints/repos/community-any/
  python2-entrypoints/repos/community-any/PKGBUILD
    (from rev 372902, python2-entrypoints/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python2-entrypoints/repos/community-any/PKGBUILD (from rev 372902, python2-entrypoints/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-08-20 19:43:05 UTC (rev 372903)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <filipe.lains at gmail.com>
+
+pkgname=python2-entrypoints
+_pkgname=${pkgname#python2-}
+pkgver=0.2.3
+pkgrel=1
+pkgdesc="Discover and load entry points from installed packages."
+arch=('any')
+url="https://github.com/takluyver/entrypoints"
+license=('MIT')
+depends=('python2-configparser')
+makedepends=('python2-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+sha256sums=('d2d587dde06f99545fb13a383d2cd336a8ff1f359c5839ce3a64c917d10c029f')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python2 setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  # Install the license
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list