Skip to content

Commit e0fa499

Browse files
committed
fix build with setuptools >=75.8.1
pypa/setuptools#4766 pypa/setuptools#4728
1 parent c33ee2c commit e0fa499

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.SRCINFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pkgbase = python-nbt
22
pkgdesc = Named Binary Tag Reader/Writer
33
pkgver = 1.5.1
4-
pkgrel = 4
4+
pkgrel = 5
55
url = https://github.com/twoolie/NBT
66
arch = any
77
license = MIT

PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
_name=NBT
55
pkgname=python-${_name,,}
66
pkgver=1.5.1
7-
pkgrel=4
7+
pkgrel=5
88
pkgdesc="Named Binary Tag Reader/Writer"
99
url="https://github.com/twoolie/$_name"
1010
depends=('python')
@@ -55,7 +55,7 @@ package() {
5555
local _site_packages="$(python -c 'import site; print(site.getsitepackages()[0])')"
5656

5757
install -d "$pkgdir/usr/share/licenses/$pkgname"
58-
local _license_path="$_site_packages/$_name-$pkgver.dist-info/LICENSE.txt"
58+
local _license_path="$_site_packages/${_name,,}-$pkgver.dist-info/licenses/LICENSE.txt"
5959
[ -f "$pkgdir/$_license_path" ] || { echo "License file not found"; exit 1; }
6060
ln -s "$_license_path" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
6161
}

0 commit comments

Comments
 (0)