Date: Friday, September 2, 2022 @ 20:55:41
  Author: jelle
Revision: 1290999

initial commit

Added:
  python-pluginbase/
  python-pluginbase/repos/
  python-pluginbase/trunk/
  python-pluginbase/trunk/PKGBUILD

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

Added: python-pluginbase/trunk/PKGBUILD
===================================================================
--- python-pluginbase/trunk/PKGBUILD                            (rev 0)
+++ python-pluginbase/trunk/PKGBUILD    2022-09-02 20:55:41 UTC (rev 1290999)
@@ -0,0 +1,29 @@
+# Maintainer: Jelle van der Waa <je...@archlinux.org>
+# Contributor: Tomislav Ivek <tomislav.i...@gmail.com>
+# Contributor: Carl George < arch at cgtx dot us >
+
+_name="pluginbase"
+_module="$_name"
+
+pkgname=("python-$_module")
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="A support library for building plugins systems in Python."
+arch=("any")
+url="http://pluginbase.pocoo.org/";
+license=("BSD")
+makedepends=("python-setuptools")
+depends=("python")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mitsuhiko/pluginbase/archive/refs/tags/v${pkgver}.tar.gz";)
+sha256sums=('bb95fe6a84ec6583e1be399ef6705011262757c69fb99fa24317fcc6e8998ffc')
+
+build() {
+    cd "$_name-$pkgver"
+    python setup.py build
+}
+
+package_python-pluginbase() {
+    cd "$_name-$pkgver"
+    python setup.py install --skip-build --root="$pkgdir" --optimize=1
+    install -D --mode 644 --target-directory 
"$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Reply via email to