[arch-commits] Commit in python-pytrie/repos (community-any community-any/PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Mon Aug 19 07:30:32 UTC 2019
Date: Monday, August 19, 2019 @ 07:30:32
Author: yan12125
Revision: 500152
archrelease: copy trunk to community-any
Added:
python-pytrie/repos/community-any/
python-pytrie/repos/community-any/PKGBUILD
(from rev 500151, python-pytrie/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-pytrie/repos/community-any/PKGBUILD (from rev 500151, python-pytrie/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-08-19 07:30:32 UTC (rev 500152)
@@ -0,0 +1,31 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Modified from aur/python2-pytrie; original maintainership info:
+# Contributor: dseg
+
+pkgname=python-pytrie
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="A pure Python implementation of the trie data structure."
+url="https://github.com/gsakkis/pytrie/"
+depends=(python python-sortedcontainers)
+makedepends=(python-setuptools)
+license=(BSD)
+arch=(any)
+source=("https://github.com/gsakkis/pytrie/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('9c51f5f50d22a829dee6d566a34a7f9ec33e434d08bfc9a4346fe8acaf2c1418')
+
+build() {
+ cd "$srcdir"/pytrie-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/pytrie-$pkgver
+ python setup.py test
+}
+
+package() {
+ cd "$srcdir"/pytrie-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list