python-magic: update to 0.4.18.
This commit is contained in:
committed by
Andrew Benson
parent
6fa8da22b7
commit
9a7de3f12d
@@ -1,10 +1,9 @@
|
|||||||
# Template file for 'python-magic'
|
# Template file for 'python-magic'
|
||||||
pkgname=python-magic
|
pkgname=python-magic
|
||||||
version=0.4.15
|
version=0.4.18
|
||||||
revision=3
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="magic.py"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
makedepends="python libmagic"
|
makedepends="python libmagic"
|
||||||
short_desc="File type identification using libmagic (Python2)"
|
short_desc="File type identification using libmagic (Python2)"
|
||||||
@@ -12,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/ahupp/python-magic"
|
homepage="https://github.com/ahupp/python-magic"
|
||||||
distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
|
distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
|
||||||
checksum=6d730389249ab1e34ffb0a3c5beaa44e116687ffa081e0176dab6c59ff271593
|
checksum=b787e8056c115f37e2af11e0b98dc67d5fc182ed5ed827a62f95e3a7f0ed4be4
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
@@ -21,7 +20,6 @@ post_install() {
|
|||||||
python3-magic_package() {
|
python3-magic_package() {
|
||||||
archs=noarch
|
archs=noarch
|
||||||
depends="python3 libmagic"
|
depends="python3 libmagic"
|
||||||
pycompile_module="magic.py"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|||||||
Reference in New Issue
Block a user