mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
eyeD3: workaround to upstream packaging weirdness
Upstream specifies install_requires not only via a requirement file [1], but using a yaml-based (!?!) version, not respecting Python packaging standards. pathlib is in the Python stdlib since version 3.4, so it's not necessary since we switched eyeD3 to using Python 3. Closes #15071. [1] https://packaging.python.org/discussions/install-requires-vs-requirements/
This commit is contained in:
parent
fa9bb79761
commit
e2b12dcd66
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'eyeD3'
|
# Template file for 'eyeD3'
|
||||||
pkgname=eyeD3
|
pkgname=eyeD3
|
||||||
version=0.8.5
|
version=0.8.5
|
||||||
revision=1
|
revision=2
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-grako python3-magic python3-setuptools python3-six"
|
depends="python3-grako python3-magic python3-setuptools python3-six"
|
||||||
|
@ -13,3 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
distfiles="${homepage}/releases/${pkgname}-${version}.tar.gz"
|
distfiles="${homepage}/releases/${pkgname}-${version}.tar.gz"
|
||||||
checksum=f2bdaf1c7351b0d8fd8226a045360dfd493cd61065f910b411d96de8860eb90a
|
checksum=f2bdaf1c7351b0d8fd8226a045360dfd493cd61065f910b411d96de8860eb90a
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i '/pathlib/d' requirements/requirements.yml # ugh
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue