qt-py: make repology happy

This commit is contained in:
blshkv 2018-12-02 08:23:07 +08:00
parent ec8887b27d
commit 8ec29f5c25
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 63 additions and 0 deletions

View file

@ -0,0 +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

View file

@ -0,0 +1,30 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="Minimal Python 2 & 3 shim around all Qt bindings"
HOMEPAGE="https://github.com/mottosso/Qt.py"
LICENSE="MIT"
SLOT="0"
if [ "${PV}" = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mottosso/Qt.py.git"
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/mottosso/Qt.py/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/Qt.py-"${PV}"
fi
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-python/PyQt5[${PYTHON_USEDEP}]"

View file

@ -0,0 +1,31 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="Minimal Python 2 & 3 shim around all Qt bindings"
HOMEPAGE="https://github.com/mottosso/Qt.py"
LICENSE="MIT"
SLOT="0"
if [ "${PV}" = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mottosso/Qt.py.git"
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}"
fi
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-python/PyQt5[${PYTHON_USEDEP}]"