diff options
author | Daniel Bermond | 2024-04-27 10:38:42 -0300 |
---|---|---|
committer | Daniel Bermond | 2024-04-27 10:38:42 -0300 |
commit | 4c097fb1f54651c43ab9c920d559bde517968404 (patch) | |
tree | 6f163d674b2c60788fe9f674b0714408bedeca2b | |
parent | 3630d19abd59d52dac6cf2959071076ae106ec3d (diff) | |
download | aur-4c097fb1f54651c43ab9c920d559bde517968404.tar.gz |
Update to version 4.2.6
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 9 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = python-torf pkgdesc = Python module to create, parse and edit torrent files and magnet links - pkgver = 4.2.4 + pkgver = 4.2.6 pkgrel = 1 url = https://github.com/rndusr/torf/ arch = any @@ -15,7 +15,7 @@ pkgbase = python-torf makedepends = python-wheel depends = python depends = python-flatbencode - source = https://github.com/rndusr/torf/archive/v4.2.4/python-torf-4.2.4.tar.gz - sha256sums = 9263dd24c4437a0cdc6bf5fe4325eb26cdf80824640b4c2746e0b59e15107f07 + source = https://github.com/rndusr/torf/archive/v4.2.6/python-torf-4.2.6.tar.gz + sha256sums = 5ddbef64d8660a23370935b442b458018eec7e4fb0c9764db260d7919cd8f1f6 pkgname = python-torf @@ -1,7 +1,7 @@ # Maintainer: Daniel Bermond <dbermond@archlinux.org> pkgname=python-torf -pkgver=4.2.4 +pkgver=4.2.6 pkgrel=1 pkgdesc='Python module to create, parse and edit torrent files and magnet links' arch=('any') @@ -12,7 +12,7 @@ makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel checkdepends=('python-pytest' 'python-pytest-httpserver' 'python-pytest-mock' 'python-pytest-xdist') BUILDENV+=('!check') source=("https://github.com/rndusr/torf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('9263dd24c4437a0cdc6bf5fe4325eb26cdf80824640b4c2746e0b59e15107f07') +sha256sums=('5ddbef64d8660a23370935b442b458018eec7e4fb0c9764db260d7919cd8f1f6') build() { cd "torf-${pkgver}" @@ -26,4 +26,8 @@ check() { package() { python -m installer --destdir="$pkgdir" "torf-${pkgver}/dist"/*.whl + + local _site_pkgs + _site_pkgs="$(python -c 'import site; print(site.getsitepackages()[0])')" + rm -r "${pkgdir}${_site_pkgs}"/{docs,tests} } |