mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
qt-py: python 3.7
This commit is contained in:
parent
0d0ded53ea
commit
d77d18798b
2 changed files with 4 additions and 42 deletions
|
|
@ -1,37 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=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"
|
||||
|
||||
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/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/Qt.py-"${MY_PV}"
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
||||
|
|
@ -1,13 +1,12 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
|
||||
|
||||
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"
|
||||
|
||||
|
|
@ -20,8 +19,8 @@ if [ "${PV}" = "9999" ]; then
|
|||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/mottosso/Qt.py/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/Qt.py-"${MY_PV}"
|
||||
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}"
|
||||
Loading…
Reference in a new issue