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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:35:47 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:35:46
  Author: felixonmars
Revision: 658527

archrelease: copy trunk to community-staging-any

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

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

Copied: python2-importlib_resources/repos/community-staging-any/PKGBUILD (from rev 658525, python2-importlib_resources/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 13:35:46 UTC (rev 658527)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-importlib_resources
+pkgver=1.0.2
+pkgrel=2
+pkgdesc='Read resources from Python packages'
+arch=('any')
+url='https://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")
+sha512sums=('50bfc5130a2c9c9354efef1cd7132e805ed0f13467ba67172f83e11d907212bef3957aeef51fd904b73996c8280008d99c918637956a470448dfd67ef4807f82')
+
+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