qt-py: proper versioning

This commit is contained in:
blshkv 2018-12-03 10:51:36 +08:00
parent 2c27e7e02e
commit b062610e2c
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
5 changed files with 36 additions and 4 deletions

View file

@ -1,2 +1,2 @@
DIST qt-py-1.1.0.tar.gz 52383 BLAKE2B d38376635b52bed364e9e826046e02543733e5416f9a85069ec82419d75fb210459e37314953dd76397408bdb10e6440e01331165d4c7ca02e8a1c1dfe899a73 SHA512 603090c3a20b8b9db1771b7b1a4328228d6e9aa529208b18704174b1fde241bedd1ce2090410c0dea4f6ec68653c3ec807486cfa113a8a649daa7430e9a291f3
DIST qt-py-1.2.0.2.tar.gz 54103 BLAKE2B e0beb934950faed240cf946717502bba7269790e57f30cab604d31fe9e5e4a180d002f6942555b158793a7bdfb0c3ef942a67c1a627c5fc2bee48c3848df78a6 SHA512 ef2e1c75ade559b5eb7192f4ae57a95fb21a5cf186b11438c43f97b86efadb929b6b308b8492b8e55239ec4be37a19dd0b95a4edcdff8a8f3cc2022933d27f39
DIST qt-py-1.2.0_beta2.tar.gz 54103 BLAKE2B e0beb934950faed240cf946717502bba7269790e57f30cab604d31fe9e5e4a180d002f6942555b158793a7bdfb0c3ef942a67c1a627c5fc2bee48c3848df78a6 SHA512 ef2e1c75ade559b5eb7192f4ae57a95fb21a5cf186b11438c43f97b86efadb929b6b308b8492b8e55239ec4be37a19dd0b95a4edcdff8a8f3cc2022933d27f39

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>blshkv@pentoo.org</email>
</maintainer>
<longdescription lang="en">
Minimal Python 2 & 3 shim around all Qt bindings
</longdescription>
<upstream>
<remote-id type="github">mottosso/Qt.py</remote-id>
<remote-id type="pypi">Qt.py</remote-id>
</upstream>
</pkgmetadata>

View file

@ -28,3 +28,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-python/PyQt5[${PYTHON_USEDEP}]"
python_prepare_all() {
#do not install LICENSE into /usr
sed -e '/data_files/d' -i setup.py || die
distutils-r1_python_prepare_all
}

View file

@ -7,6 +7,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
MY_PV="${PV/_beta/.b}"
DESCRIPTION="Minimal Python 2 & 3 shim around all Qt bindings"
HOMEPAGE="https://github.com/mottosso/Qt.py"
@ -19,9 +20,8 @@ if [ "${PV}" = "9999" ]; then
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
# SRC_URI="https://github.com/mottosso/Qt.py/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/mottosso/Qt.py/archive/1.2.0.b2.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/Qt.py-"${PV}"
SRC_URI="https://github.com/mottosso/Qt.py/archive/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/Qt.py-"${MY_PV}"
fi
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@ -29,3 +29,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-python/PyQt5[${PYTHON_USEDEP}]"
python_prepare_all() {
#do not install LICENSE into /usr
sed -e '/data_files/d' -i setup.py || die
distutils-r1_python_prepare_all
}

View file

@ -32,3 +32,9 @@ RDEPEND="${DEPEND}
dev-python/PyQt4[${PYTHON_USEDEP}]
dev-python/pyside[${PYTHON_USEDEP}]
)"
python_prepare_all() {
#do not install LICENSE into /usr
sed -e '/data_files/d' -i setup.py || die
distutils-r1_python_prepare_all
}