Date: Thursday, April 6, 2023 @ 02:14:24
Author: felixonmars
Revision: 1438072
archrelease: copy trunk to community-staging-any
Added:
python-beniget/repos/community-staging-any/
python-beniget/repos/community-staging-any/PKGBUILD
(from rev 1438071, python-beniget/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-beniget/repos/community-staging-any/PKGBUILD (from rev 1438071,
python-beniget/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 02:14:24 UTC (rev 1438072)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Ashwin Vishnu <ashwinvis+arch at pr0t0nm4il dot com>
+
+pkgname=python-beniget
+pkgver=0.4.1
+pkgrel=4
+pkgdesc='A static analyzer for Python code'
+arch=(any)
+url='https://github.com/serge-sans-paille/beniget'
+license=(BSD)
+depends=(python-gast)
+makedepends=(python-setuptools)
+source=(https://files.pythonhosted.org/packages/source/b/beniget/beniget-$pkgver.tar.gz)
+sha256sums=('75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c')
+
+build() {
+ cd beniget-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd beniget-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}