26 lines
827 B
Bash
26 lines
827 B
Bash
# Template file for 'python3-pipenv'
|
|
pkgname=python3-pipenv
|
|
version=2021.5.29
|
|
revision=1
|
|
wrksrc="pipenv-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3 python3-pip python3-virtualenv python3-virtualenv-clone"
|
|
short_desc="Python Development Workflow for Humans"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/pypa/pipenv"
|
|
distfiles="${PYPI_SITE}/p/pipenv/pipenv-${version}.tar.gz"
|
|
checksum=05958fadcd70b2de6a27542fcd2bd72dd5c59c6d35307fdac3e06361fb06e30e
|
|
conflicts="python-pipenv>=0"
|
|
|
|
post_extract() {
|
|
sed -i '/certifi/d' setup.py
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
# remove files only valid for Python 2
|
|
rm -rf ${DESTDIR}/${py3_sitelib}/pipenv/patched/yaml2
|
|
rm -f ${DESTDIR}/${py3_sitelib}/pipenv/vendor/importlib_resources/_py2.py
|
|
}
|