dev-python/oslo-serialization: New package

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2021-06-21 13:25:43 +02:00
parent e67b7c6973
commit 0ad93c7e7a
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST oslo-serialization-4.1.0.tar.gz 34204 BLAKE2B cfd5737e5cc109040d373e17d57f88f98700505745820bfd96af5385c920fa644a4a3455945024657cb590a51d6c3664e2c745b8547474935225b1b43f50c1d3 SHA512 0273008c80761ab7feef6714900f42110178e1c3ea5826c8adac0c5060d5c27fc0d4ab6ded3ccd67f64a7dbf9a265bfd720e85000ecd76514af4b173cce6777f

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>openstack@gentoo.org</email>
<name>Openstack</name>
</maintainer>
<maintainer type="person">
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">oslo.serialization</remote-id>
<remote-id type="launchpad">oslo</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,37 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
MY_PN=${PN/-/.}
DESCRIPTION="Oslo Serialization library"
HOMEPAGE="https://launchpad.net/oslo
https://opendev.org/openstack/oslo.serialization/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE=""
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
DEPEND="${CDEPEND}"
RDEPEND="
${CDEPEND}
>=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
"
python_prepare_all() {
# allow useage of renamed msgpack
sed -i '/^msgpack/d' requirements.txt || die
distutils-r1_python_prepare_all
}