David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-tlv8


Commits:
89f4361e by David Runge at 2024-04-05T20:31:31+02:00
Switch to correct SPDX license identifier

Signed-off-by: David Runge <[email protected]>

- - - - -
6dea21f9 by David Runge at 2024-04-05T20:32:05+02:00
Add nvchecker integration

Signed-off-by: David Runge <[email protected]>

- - - - -
a511db80 by David Runge at 2024-04-05T20:34:35+02:00
Remove comment about sdist tarballs and simplify custom variable

Signed-off-by: David Runge <[email protected]>

- - - - -
19e57cfd by David Runge at 2024-04-05T20:34:56+02:00
Use bash arrays with one entry per line for easier handling

Signed-off-by: David Runge <[email protected]>

- - - - -
cc6a6413 by David Runge at 2024-04-05T20:35:14+02:00
upgpkg: 0.10.0-3: Rebuild against Python 3.12

- - - - -


3 changed files:

- + .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,17 @@
+pkgbase = python-tlv8
+       pkgdesc = Python module to handle type-length-value (TLV) encoded data
+       pkgver = 0.10.0
+       pkgrel = 3
+       url = https://github.com/jlusiardi/tlv8_python
+       arch = any
+       license = Apache-2.0
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-setuptools
+       makedepends = python-wheel
+       depends = python
+       source = 
python-tlv8-0.10.0.tar.gz::https://github.com/jlusiardi/tlv8_python/archive/refs/tags/v0.10.0.tar.gz
+       sha512sums = 
46c1e85f5a9aec80771d0a3a56ebe72cd09f531f221dd015c0486fc1986d3a5624bcb2533850c88db9d7b462993820012e7c04c641f0d3e0e1466cb2ea12d94f
+       b2sums = 
f66f4f5c678a0bdd7ca45878841739aad53eb119bf184ac4665e280611eb286cefa3a99355580793f97fe6a89580291cea812019e49ec64aad420fb6c4843c25
+
+pkgname = python-tlv8


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,3 @@
+[python-tlv8]
+source = "pypi"
+pypi = "tlv8"


=====================================
PKGBUILD
=====================================
@@ -1,33 +1,36 @@
 # Maintainer: David Runge <[email protected]>
 
-_name=tlv8
 pkgname=python-tlv8
+_name="${pkgname#python-}_python"
 pkgver=0.10.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Python module to handle type-length-value (TLV) encoded data"
 arch=(any)
 url="https://github.com/jlusiardi/tlv8_python";
-license=(Apache)
+license=(Apache-2.0)
 depends=(python)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-# tests not included in sdist tarball on pypi.org: 
https://github.com/jlusiardi/tlv8_python/issues/17
-# 
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-source=($_name-$pkgver.tar.gz::https://github.com/jlusiardi/tlv8_python/archive/refs/tags/v$pkgver.tar.gz)
+makedepends=(
+  python-build
+  python-installer
+  python-setuptools
+  python-wheel
+)
+source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz)
 
sha512sums=('46c1e85f5a9aec80771d0a3a56ebe72cd09f531f221dd015c0486fc1986d3a5624bcb2533850c88db9d7b462993820012e7c04c641f0d3e0e1466cb2ea12d94f')
 
b2sums=('f66f4f5c678a0bdd7ca45878841739aad53eb119bf184ac4665e280611eb286cefa3a99355580793f97fe6a89580291cea812019e49ec64aad420fb6c4843c25')
 
 build() {
-  cd ${_name}_python-$pkgver
+  cd $_name-$pkgver
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd ${_name}_python-$pkgver
+  cd $_name-$pkgver
   python -m unittest discover -v
 }
 
 package() {
-  cd ${_name}_python-$pkgver
+  cd $_name-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 {CHANGES,README}.md -t "$pkgdir/usr/share/doc/$pkgname/"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-tlv8/-/compare/1389c14ebe1f6d6be73945d56dcfbccdd581950a...cc6a6413ec0488359d2d65a6138a79ed8cfa1f04

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-tlv8/-/compare/1389c14ebe1f6d6be73945d56dcfbccdd581950a...cc6a6413ec0488359d2d65a6138a79ed8cfa1f04
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to