diff --git a/srcpkgs/python-pipenv/template b/srcpkgs/python-pipenv/template new file mode 100644 index 00000000000..61a7cb7c3c7 --- /dev/null +++ b/srcpkgs/python-pipenv/template @@ -0,0 +1,34 @@ +# Template file for 'python-pipenv' +pkgname=python-pipenv +version=2018.11.26 +revision=1 +noarch=yes +wrksrc="pipenv-${version}" +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" +pycompile_module="pipenv" +depends="python" +short_desc="Python Development Workflow for Humans" +maintainer="Leah Neukirchen " +license="MIT" +homepage="https://github.com/pypa/pipenv" +distfiles="${PYPI_SITE}/p/pipenv/pipenv-${version}.tar.gz" +checksum=a673e606e8452185e9817a987572b55360f4d28b50831ef3b42ac3cab3fee846 +alternatives="pip:pip:usr/bin/pip2 pip:pipenv-resolver:usr/bin/pipenv-resolver2" + +post_install() { + vlicense LICENSE +} + +python3-pipenv_package() { + noarch=yes + depends="python3" + pycompile_module="pipenv" + short_desc="${short_desc/Python2/Python3}" + alternatives="pip:pip:usr/bin/pip3 pip:pipenv-resolver:usr/bin/pipenv-resolver3" + pkg_install() { + vmove usr/bin/*3 + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-pipenv b/srcpkgs/python3-pipenv new file mode 120000 index 00000000000..d6f33a0fb33 --- /dev/null +++ b/srcpkgs/python3-pipenv @@ -0,0 +1 @@ +python-pipenv \ No newline at end of file