mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 17:33:03 +02:00
python-magic: fix pycompile_module
This commit is contained in:
parent
a8ce88d87c
commit
1bc4fe580b
1 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,10 @@
|
|||
# Template file for 'python-magic'
|
||||
pkgname=python-magic
|
||||
version=0.4.15
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
build_style=python-module
|
||||
pycompile_module="magic.py"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python libmagic"
|
||||
short_desc="File type identification using libmagic (Python2)"
|
||||
|
@ -11,8 +13,6 @@ license="MIT"
|
|||
homepage="https://github.com/ahupp/python-magic"
|
||||
distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
|
||||
checksum=6d730389249ab1e34ffb0a3c5beaa44e116687ffa081e0176dab6c59ff271593
|
||||
pycompile_module="magic"
|
||||
noarch=yes
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
@ -21,7 +21,7 @@ post_install() {
|
|||
python3-magic_package() {
|
||||
noarch=yes
|
||||
depends="python3 libmagic"
|
||||
pycompile_module="magic"
|
||||
pycompile_module="magic.py"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
|
|
Loading…
Add table
Reference in a new issue