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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:20:19 UTC 2020


    Date: Monday, November 9, 2020 @ 16:20:18
  Author: foutrelis
Revision: 747476

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pymeta3/repos/community-staging-any/PKGBUILD (from rev 747475, python-pymeta3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:20:18 UTC (rev 747476)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pymeta3
+pkgname=python-$_pkgname
+pkgver=0.5.1
+pkgrel=2
+pkgdesc='A Pattern-Matching Language Based on Python'
+arch=('any')
+url='https://github.com/wbond/pymeta3'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('0fe89511e8a01589e25cee1bc0e1504698e7c044f008697a9470b80fdf2d9113c0a2c8ca14fbb3fa2be43f60aa6d45d2a852b8ae09e164e28903a314176dbb7d')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list