[arch-commits] Commit in absl-py/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:16:50 UTC 2019
Date: Friday, October 25, 2019 @ 15:16:49
Author: felixonmars
Revision: 518955
archrelease: copy trunk to community-staging-any
Added:
absl-py/repos/community-staging-any/
absl-py/repos/community-staging-any/PKGBUILD
(from rev 518954, absl-py/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: absl-py/repos/community-staging-any/PKGBUILD (from rev 518954, absl-py/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:16:49 UTC (rev 518955)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=absl-py
+pkgver=0.8.1
+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=('fbf1f601021850686fa6430001ea370a26490f3c8c841ba2e34048c69ca382a6f6baf9480e989edddfff69c15a5ea5bbc6d4afa83b3f2b1512dfee40ba940096')
+
+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