[arch-commits] Commit in python-lexicon/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sun Aug 1 18:02:54 UTC 2021


    Date: Sunday, August 1, 2021 @ 18:02:54
  Author: felixonmars
Revision: 991981

archrelease: copy trunk to community-any

Added:
  python-lexicon/repos/community-any/
  python-lexicon/repos/community-any/PKGBUILD
    (from rev 991980, python-lexicon/trunk/PKGBUILD)

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

Copied: python-lexicon/repos/community-any/PKGBUILD (from rev 991980, python-lexicon/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-08-01 18:02:54 UTC (rev 991981)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-lexicon
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Powerful dict subclass(es) with aliasing & attribute access"
+url="https://github.com/bitprophet/lexicon"
+license=('BSD')
+arch=('any')
+depends=('python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-spec')
+source=("https://github.com/bitprophet/lexicon/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('0e1c8534a368eabde31c8f78043b966fa881586f00d2480a6cd3407c8135d08381b6904530cea9839ea57b6a45b9604610fde773ed885e966284f8fdb3e4ccff')
+
+build() {
+  cd lexicon-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd lexicon-$pkgver
+  PYTHONPATH="$PWD" spec
+}
+
+package() {
+  cd lexicon-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list