[arch-commits] Commit in (4 files)

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


    Date: Monday, August 20, 2018 @ 19:42:58
  Author: ffy00
Revision: 372902

import from aur

Added:
  python2-entrypoints/
  python2-entrypoints/repos/
  python2-entrypoints/trunk/
  python2-entrypoints/trunk/PKGBUILD

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

Added: python2-entrypoints/trunk/PKGBUILD
===================================================================
--- python2-entrypoints/trunk/PKGBUILD	                        (rev 0)
+++ python2-entrypoints/trunk/PKGBUILD	2018-08-20 19:42:58 UTC (rev 372902)
@@ -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
+}


Property changes on: python2-entrypoints/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list