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

Felix Yan felixonmars at archlinux.org
Tue Dec 15 20:20:25 UTC 2020


    Date: Tuesday, December 15, 2020 @ 20:20:25
  Author: felixonmars
Revision: 776170

archrelease: copy trunk to community-any

Added:
  python-parse-type/repos/community-any/
  python-parse-type/repos/community-any/PKGBUILD
    (from rev 776169, python-parse-type/trunk/PKGBUILD)

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

Copied: python-parse-type/repos/community-any/PKGBUILD (from rev 776169, python-parse-type/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-12-15 20:20:25 UTC (rev 776170)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-parse-type
+pkgver=0.5.6
+pkgrel=1
+pkgdesc="Simplifies to build parse types based on the parse module"
+url="https://github.com/jenisys/parse_type"
+license=('BSD')
+arch=('any')
+depends=('python-parse' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-html')
+source=("https://github.com/jenisys/parse_type/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('6729af4383baceea48cf0bbd73e7e3f580cfbb867965814ba354ea5de6794583782c929557f6f1c7f8bd45703a69b2f890455cfd749690f851f1853562da0c40')
+
+build() {
+  cd parse_type-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd parse_type-$pkgver
+  pytest
+}
+
+package() {
+  cd parse_type-$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