python-pipenv: fix deps
This commit is contained in:
parent
484d54ed70
commit
2beddec3d0
@ -1,13 +1,13 @@
|
|||||||
# Template file for 'python-pipenv'
|
# Template file for 'python-pipenv'
|
||||||
pkgname=python-pipenv
|
pkgname=python-pipenv
|
||||||
version=2018.11.26
|
version=2018.11.26
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="pipenv-${version}"
|
wrksrc="pipenv-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
pycompile_module="pipenv"
|
pycompile_module="pipenv"
|
||||||
depends="python"
|
depends="python python-pip python-virtualenv python-virtualenv-clone"
|
||||||
short_desc="Python Development Workflow for Humans"
|
short_desc="Python Development Workflow for Humans"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
@ -15,22 +15,26 @@ homepage="https://github.com/pypa/pipenv"
|
|||||||
distfiles="${PYPI_SITE}/p/pipenv/pipenv-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pipenv/pipenv-${version}.tar.gz"
|
||||||
checksum=a673e606e8452185e9817a987572b55360f4d28b50831ef3b42ac3cab3fee846
|
checksum=a673e606e8452185e9817a987572b55360f4d28b50831ef3b42ac3cab3fee846
|
||||||
alternatives="
|
alternatives="
|
||||||
pipenv:pipenv:usr/bin/pipenv2
|
pipenv:pipenv:/usr/bin/pipenv2
|
||||||
pipenv:pipenv-resolver:usr/bin/pipenv-resolver2
|
pipenv:pipenv-resolver:/usr/bin/pipenv-resolver2
|
||||||
"
|
"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i '/certifi/d' setup.py
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-pipenv_package() {
|
python3-pipenv_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3"
|
depends="python3 python3-pip python3-virtualenv python3-virtualenv-clone"
|
||||||
pycompile_module="pipenv"
|
pycompile_module="pipenv"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
alternatives="
|
alternatives="
|
||||||
pipenv:pipenv:usr/bin/pipenv3
|
pipenv:pipenv:/usr/bin/pipenv3
|
||||||
pipenv:pipenv-resolver:usr/bin/pipenv-resolver3
|
pipenv:pipenv-resolver:/usr/bin/pipenv-resolver3
|
||||||
"
|
"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3
|
vmove usr/bin/*3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user