upgpkg: adguardhome 1:0.107.43-1

upgpkg: alhp-keyring 20230504-4
upgpkg: alhp-mirrorlist 20230831-1
upgpkg: antidot 0.6.3-1
upgpkg: asus-numpad 0.4.1-6
upgpkg: coreapps-meta 1-1
upgpkg: eggdrop 1.9.3-1
upgpkg: hide-client 0.9.8-2
upgpkg: jellyfin-mpv-shim 2.6.0-1
upgpkg: mmdbinspect 0.1.1-1
upgpkg: motion-git 4.4.0.r44.db94a89-1
upgpkg: motionplus 0.1.1-4
upgpkg: mpv-shim-default-shaders 2.1.0-1
upgpkg: perl-filehandle-unget 0.1634-2
upgpkg: perl-mail-mbox-messageparser 1.5111-1
upgpkg: perl-net-ftpssl 0.42-1
upgpkg: pyfan 1.6.1-1
upgpkg: python-derpconf 0.8.4-1
upgpkg: python-jellyfin-apiclient 1.9.2-1
upgpkg: python-libthumbor 2.0.2-2
upgpkg: python-mpv-jsonipc 1.2.0-1
upgpkg: python-preggy 1.4.4-1
upgpkg: python-pyssim 0.6-1
upgpkg: python-pystray 0.19.5-1
upgpkg: python-simple-pid 1.0.1-1
upgpkg: python-socketfromfd 0.2.0-1
upgpkg: rvpk 1.1.0-1
upgpkg: thumbor 7.7.3-1
upgpkg: unvpk-git r108.1f1f44f-1
upgpkg: victoriametrics 1.93.5-1

syntax changes
This commit is contained in:
2024-01-13 16:00:20 +01:00
parent 5813ed043f
commit bc6739b9d1
36 changed files with 355 additions and 327 deletions

View File

@@ -2,7 +2,7 @@ pkgbase = python-preggy
pkgdesc = assertion library for Python
pkgver = 1.4.4
pkgrel = 1
url = https://pypi.org/project/preggy
url = https://github.com/heynemann/preggy
arch = any
license = MIT
checkdepends = python-pytest
@@ -10,7 +10,7 @@ pkgbase = python-preggy
depends = python-six
depends = python-colorama
depends = python-unidecode
source = https://files.pythonhosted.org/packages/source/p/preggy/preggy-1.4.4.tar.gz
b2sums = ed656f848349c0cdb0f44151ded15db1b68b7358a4633417a6889b4be9397dc0de96dbd5f43bb26f748d9cd4f16532f1954f3978690afa9e792ce24fbe942b20
source = https://github.com/heynemann/preggy/archive/refs/tags/1.4.4.tar.gz
b2sums = 8d600e1c1e1e2948c31e7dbec907d87bd3590dfdecb22ee22a3f75ca65f22d50bc204fd0751327ac8ca22856d84f2ee7ddc1b42710f956e9c22b3e72d6047a65
pkgname = python-preggy

View File

@@ -5,29 +5,29 @@ _name=${pkgname#python-}
pkgver=1.4.4
pkgrel=1
pkgdesc="assertion library for Python"
arch=('any')
url="https://pypi.org/project/preggy"
license=('MIT')
arch=(any)
url="https://github.com/heynemann/preggy"
license=(MIT)
depends=(python-six python-colorama python-unidecode)
makedepends=('python-setuptools')
makedepends=(python-setuptools)
checkdepends=(python-pytest)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/${_name//-/_}-$pkgver.tar.gz")
b2sums=('ed656f848349c0cdb0f44151ded15db1b68b7358a4633417a6889b4be9397dc0de96dbd5f43bb26f748d9cd4f16532f1954f3978690afa9e792ce24fbe942b20')
source=("https://github.com/heynemann/preggy/archive/refs/tags/$pkgver.tar.gz")
b2sums=('8d600e1c1e1e2948c31e7dbec907d87bd3590dfdecb22ee22a3f75ca65f22d50bc204fd0751327ac8ca22856d84f2ee7ddc1b42710f956e9c22b3e72d6047a65')
build() {
cd $_name-$pkgver
python setup.py build
cd $_name-$pkgver
python setup.py build
}
check() {
cd $_name-$pkgver
pytest
cd $_name-$pkgver
pytest
}
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
#install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd $_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et: