python-stevedore: remove

This commit is contained in:
Piotr Wójcik 2020-08-27 19:13:55 +02:00 committed by Piotr
parent 1f07b38777
commit 2f635e82bc
2 changed files with 6 additions and 17 deletions

View file

@ -1 +0,0 @@
python-stevedore

View file

@ -1,14 +1,14 @@
# Template file for 'python-stevedore' # Template file for 'python3-stevedore'
pkgname=python-stevedore pkgname=python3-stevedore
version=1.30.1 version=1.30.1
revision=2 revision=2
archs=noarch archs=noarch
wrksrc="stevedore-${version}" wrksrc="stevedore-${version}"
build_style=python-module build_style=python3-module
pycompile_module="stevedore" pycompile_module="stevedore"
hostmakedepends="python-setuptools python3-setuptools python-pbr python3-pbr" hostmakedepends="python3-setuptools python3-pbr"
depends="python-six" depends="python3-six"
short_desc="Manage dynamic plugins for Python2 applications" short_desc="Manage dynamic plugins for Python3 applications"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
license="Apache-2.0" license="Apache-2.0"
homepage="https://git.openstack.org/cgit/openstack/stevedore" homepage="https://git.openstack.org/cgit/openstack/stevedore"
@ -19,13 +19,3 @@ pre_build() {
# remove dependency on pbr; it's not a runtime dependency # remove dependency on pbr; it's not a runtime dependency
sed -i '/pbr/d' requirements.txt sed -i '/pbr/d' requirements.txt
} }
python3-stevedore_package() {
archs=noarch
depends="python3-six"
pycompile_module="stevedore"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}