Date: Friday, April 7, 2023 @ 18:36:35
  Author: felixonmars
Revision: 1441451

archrelease: copy trunk to community-staging-any

Added:
  python-pylint-venv/repos/community-staging-any/
  python-pylint-venv/repos/community-staging-any/PKGBUILD
    (from rev 1441450, python-pylint-venv/trunk/PKGBUILD)

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

Copied: python-pylint-venv/repos/community-staging-any/PKGBUILD (from rev 
1441450, python-pylint-venv/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 18:36:35 UTC (rev 1441451)
@@ -0,0 +1,26 @@
+# Maintainer:
+# Contributor: Stijn Seghers <stijnseghers at gmail dot com>
+
+pkgname=python-pylint-venv
+_pyname=pylint-venv
+pkgver=3.0.1
+pkgrel=2
+pkgdesc='Make pylint respect virtualenvs'
+arch=(any)
+url="https://github.com/jgosmann/$_pyname";
+license=(MIT)
+depends=(python-pylint python-virtualenv)
+makedepends=(python-build python-installer python-wheel python-poetry-core)
+source=(https://github.com/jgosmann/$_pyname/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('d28e2ba9310a879bcbaf5455f8e614e4b59457f3ad68c3bee5e694bac3490449')
+
+build() {
+    cd $_pyname-$pkgver
+    python -m build --wheel --no-isolation
+}
+
+package() {
+    cd $_pyname-$pkgver
+    python -m installer --destdir="$pkgdir" dist/*.whl
+    install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to