[arch-commits] Commit in python-pytrie/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 25 20:13:48 UTC 2019


    Date: Friday, October 25, 2019 @ 20:13:46
  Author: felixonmars
Revision: 519803

archrelease: copy trunk to community-staging-any

Added:
  python-pytrie/repos/community-staging-any/
  python-pytrie/repos/community-staging-any/PKGBUILD
    (from rev 519801, python-pytrie/trunk/PKGBUILD)

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

Copied: python-pytrie/repos/community-staging-any/PKGBUILD (from rev 519801, python-pytrie/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 20:13:46 UTC (rev 519803)
@@ -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=2
+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