217e7d31f2
After more than a year the switch to python3 packages, it is time to say them goodbye. So long, and thanks for all the fish.
31 lines
911 B
Bash
31 lines
911 B
Bash
# Template file for 'python-stevedore'
|
|
pkgname=python-stevedore
|
|
version=1.28.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="stevedore-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools python-pbr python3-pbr"
|
|
depends="python-six"
|
|
pycompile_module="stevedore"
|
|
short_desc="Manage dynamic plugins for Python2 applications"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://git.openstack.org/cgit/openstack/stevedore"
|
|
license="Apache-2.0"
|
|
distfiles="${PYPI_SITE}/s/stevedore/stevedore-${version}.tar.gz"
|
|
checksum=f1c7518e7b160336040fee272174f1f7b29a46febb3632502a8f2055f973d60b
|
|
|
|
pre_build() {
|
|
# remove dependency on pbr; it's not a runtime dependency
|
|
sed -i '/pbr/d' requirements.txt
|
|
}
|
|
|
|
python3-stevedore_package() {
|
|
noarch=yes
|
|
depends="python3-six"
|
|
pycompile_module="stevedore"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|