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

Felix Yan felixonmars at archlinux.org
Mon Sep 17 17:48:01 UTC 2018


    Date: Monday, September 17, 2018 @ 17:48:01
  Author: felixonmars
Revision: 382641

archrelease: copy trunk to community-any

Added:
  python2-importlib_resources/repos/community-any/
  python2-importlib_resources/repos/community-any/PKGBUILD
    (from rev 382640, python2-importlib_resources/trunk/PKGBUILD)

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

Copied: python2-importlib_resources/repos/community-any/PKGBUILD (from rev 382640, python2-importlib_resources/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-09-17 17:48:01 UTC (rev 382641)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-importlib_resources
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Read resources from Python packages'
+arch=('any')
+url='http://pypi.python.org/pypi/importlib_resources'
+license=('Apache')
+depends=('python2-typing' 'python2-pathlib2' 'python2-setuptools' 'python2-wheel')
+makedepends=('python2-setuptools')
+source=("https://pypi.io/packages/source/i/importlib_resources/importlib_resources-$pkgver.tar.gz")
+sha256sums=('73f454e062ac149bafd262b18c1f9ebc91f53bd6474e028d1bf1c59ebd152efb')
+
+build() {
+  cd importlib_resources-$pkgver
+  python2 setup.py build
+}
+
+check() {
+  cd importlib_resources-$pkgver
+  python2 -m unittest discover
+}
+
+package() {
+  cd importlib_resources-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list