mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
Merge pull request #5916 from lafrenierejm/python-smmap
python-smmap: Add missing dependency on python
This commit is contained in:
commit
3b0ccf7ccd
1 changed files with 13 additions and 9 deletions
|
@ -1,12 +1,13 @@
|
||||||
# Template file for 'python-smmap'
|
# Template file for 'python-smmap'
|
||||||
pkgname=python-smmap
|
pkgname=python-smmap
|
||||||
version=2.0.1
|
version=2.0.1
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="smmap-${version}"
|
wrksrc="smmap-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="smmap"
|
pycompile_module="smmap"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python"
|
||||||
short_desc="Sliding memory map manager (Python2)"
|
short_desc="Sliding memory map manager (Python2)"
|
||||||
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
||||||
homepage="https://github.com/gitpython-developers/smmap"
|
homepage="https://github.com/gitpython-developers/smmap"
|
||||||
|
@ -14,14 +15,17 @@ license="BSD"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=ff3df98fe1874228c5cae8c2cca18bf0122bbd1f8957eb2339f5faa61ffc4081
|
checksum=ff3df98fe1874228c5cae8c2cca18bf0122bbd1f8957eb2339f5faa61ffc4081
|
||||||
|
|
||||||
python3-smmap_package() {
|
|
||||||
noarch=yes
|
|
||||||
pycompile_module="smmap"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
}
|
|
||||||
}
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
python3-smmap_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="smmap"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue