Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages /
python-pylint-venv
Commits:
b3e5b302 by Carl Smedstad at 2024-10-26T14:00:11+02:00
Update maintainer comments
- - - - -
5e281283 by Carl Smedstad at 2024-10-26T14:00:42+02:00
Re-format PKGBUILD - one dep per line, 2 space indent
- - - - -
6f4bcf02 by Carl Smedstad at 2024-10-26T14:01:58+02:00
Rename var _pyname to _pkgname
- - - - -
1908be5e by Carl Smedstad at 2024-10-26T14:06:42+02:00
upgpkg: 3.0.3-3: Adopt & refactor
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,16 +1,16 @@
pkgbase = python-pylint-venv
pkgdesc = Make pylint respect virtualenvs
pkgver = 3.0.3
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/jgosmann/pylint-venv
arch = any
license = MIT
makedepends = python-build
makedepends = python-installer
- makedepends = python-wheel
makedepends = python-poetry-core
+ makedepends = python-wheel
+ depends = python
depends = python-pylint
- depends = python-virtualenv
source =
https://github.com/jgosmann/pylint-venv/archive/v3.0.3/python-pylint-venv-3.0.3.tar.gz
sha256sums =
4c85eee2830e12432dbb7570b0cefc046552283bf8a8658d86e7a505a8a51e88
=====================================
PKGBUILD
=====================================
@@ -1,26 +1,34 @@
-# Maintainer:
+# Maintainer: Carl Smedstad <[email protected]>
# Contributor: Stijn Seghers <stijnseghers at gmail dot com>
pkgname=python-pylint-venv
-_pyname=pylint-venv
+_pkgname=${pkgname#python-}
pkgver=3.0.3
-pkgrel=2
+pkgrel=3
pkgdesc='Make pylint respect virtualenvs'
arch=(any)
-url="https://github.com/jgosmann/$_pyname"
+url="https://github.com/jgosmann/pylint-venv"
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)
+depends=(
+ python
+ python-pylint
+)
+makedepends=(
+ python-build
+ python-installer
+ python-poetry-core
+ python-wheel
+)
+source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('4c85eee2830e12432dbb7570b0cefc046552283bf8a8658d86e7a505a8a51e88')
build() {
- cd $_pyname-$pkgver
- python -m build --wheel --no-isolation
+ cd "$_pkgname-$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
+ cd "$_pkgname-$pkgver"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pylint-venv/-/compare/9d1c9a3ff0259316a37c6ee40c7d9fed51285ee5...1908be5e3528354a15aa4df0bf1e465cd8a45db9
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pylint-venv/-/compare/9d1c9a3ff0259316a37c6ee40c7d9fed51285ee5...1908be5e3528354a15aa4df0bf1e465cd8a45db9
You're receiving this email because of your account on gitlab.archlinux.org.