[arch-commits] Commit in absl-py/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Jun 30 17:08:02 UTC 2018


    Date: Saturday, June 30, 2018 @ 17:08:02
  Author: felixonmars
Revision: 348628

archrelease: copy trunk to community-staging-any

Added:
  absl-py/repos/community-staging-any/
  absl-py/repos/community-staging-any/PKGBUILD
    (from rev 348627, absl-py/trunk/PKGBUILD)

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

Copied: absl-py/repos/community-staging-any/PKGBUILD (from rev 348627, absl-py/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 17:08:02 UTC (rev 348628)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=absl-py
+pkgver=0.2.2
+pkgrel=2
+pkgdesc="Abseil Python Common Libraries"
+arch=(any)
+url="https://github.com/abseil/abseil-py"
+license=(APACHE)
+makedepends=(python-setuptools)
+source=(https://pypi.io/packages/source/a/absl-py/absl-py-$pkgver.tar.gz)
+sha512sums=('15cb6afff6c8f469d5c7646a4c9b757ee77f0a41ffba6f39a5f6bc1106039cb77a24352d52aaace35a2d8c43d80923e28e4f0a3e29a047c3a4c57e701785c0e4')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+  chmod -R +r "${pkgdir}"/usr/lib
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list