mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
ba5557fe60
commit
68d2ddd928
2 changed files with 31 additions and 0 deletions
30
srcpkgs/python-magic/template
Normal file
30
srcpkgs/python-magic/template
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Template file for 'python-magic'
|
||||||
|
pkgname=python-magic
|
||||||
|
version=0.4.13
|
||||||
|
revision=1
|
||||||
|
build_style=python-module
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
makedepends="python libmagic"
|
||||||
|
short_desc="File type indetification using libmagic"
|
||||||
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/ahupp/python-magic"
|
||||||
|
distfiles="${PYPI_SITE}/p/python-magic/python-magic-${version}.tar.gz"
|
||||||
|
checksum=604eace6f665809bebbb07070508dfa8cabb2d7cb05be9a56706c60f864f1289
|
||||||
|
pycompile_module="magic"
|
||||||
|
noarch=yes
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-magic_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3 libmagic"
|
||||||
|
pycompile_module="magic"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-magic
Symbolic link
1
srcpkgs/python3-magic
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-magic
|
Loading…
Add table
Reference in a new issue