python-magic: drop package
This commit is contained in:
parent
96238114af
commit
79edcf6837
3 changed files with 18 additions and 31 deletions
|
@ -1,30 +0,0 @@
|
||||||
# Template file for 'python-magic'
|
|
||||||
pkgname=python-magic
|
|
||||||
version=0.4.18
|
|
||||||
revision=2
|
|
||||||
archs=noarch
|
|
||||||
build_style=python-module
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
makedepends="python libmagic"
|
|
||||||
short_desc="File type identification using libmagic (Python2)"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="MIT"
|
|
||||||
homepage="https://github.com/ahupp/python-magic"
|
|
||||||
distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
|
|
||||||
checksum=b787e8056c115f37e2af11e0b98dc67d5fc182ed5ed827a62f95e3a7f0ed4be4
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-magic_package() {
|
|
||||||
archs=noarch
|
|
||||||
depends="python3 libmagic"
|
|
||||||
# Beware: not an alternative
|
|
||||||
conflicts="python3-file-magic>=0"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-magic
|
|
18
srcpkgs/python3-magic/template
Normal file
18
srcpkgs/python3-magic/template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'python3-magic'
|
||||||
|
pkgname=python3-magic
|
||||||
|
version=0.4.18
|
||||||
|
revision=3
|
||||||
|
wrksrc=python-magic-$version
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
makedepends="libmagic"
|
||||||
|
short_desc="File type identification using libmagic (Python3)"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/ahupp/python-magic"
|
||||||
|
distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
|
||||||
|
checksum=b787e8056c115f37e2af11e0b98dc67d5fc182ed5ed827a62f95e3a7f0ed4be4
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue