Fix missing `python.eclass', really.

The reason for b508ca9f is actually EAPI bump (microcai/gentoo-zh#442).
This commit is contained in:
Casper Ti. Vector committed 2017-07-06 17:36:55 +08:00
1 parent b508ca9f14
commit cfe3d4fab1
12 files changed
+93 -132

No files matched your search

@@ -2,11 +2,10 @@
# Distributed under the terms of the GNU General Public License v3
# $Header: $
EAPI="4"
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit fdo-mime versionator eutils python-single-r1
inherit fdo-mime versionator eutils python
PYTHON_DEPEND=2:2.7
MY_VER="$(get_version_component_range 1-2)+git$(get_version_component_range 3)~2491552186"
SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz"
@@ -23,17 +22,13 @@ RDEPEND="dev-libs/gobject-introspection
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
dev-libs/dtk-widget
dev-lang/python:2.7
dev-python/pygobject:2
dev-python/pygtk:2"
dev-python/pygobject:2[${PYTHON_USEDEP}]
dev-python/pygtk:2[${PYTHON_USEDEP}]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
dev-python/setuptools"
S="${WORKDIR}/${PN}-${MY_VER}"
pkg_setup() {
python_set_active_version 2.7
}
src_install() {
python setup.py install --root=${D}
"${PYTHON}" setup.py install --root=${D}
}
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit python
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1
DESCRIPTION="Google App Engine SDK for Python"
HOMEPAGE="http://appengine.google.com/"
@@ -16,22 +16,21 @@ KEYWORDS="~amd64 ~x86"
IUSE="examples"
RDEPEND="
dev-python/mysql-python
dev-python/lxml
dev-python/imaging
dev-python/numpy
dev-python/pycrypto
dev-python/django
dev-python/jinja
dev-python/markupsafe
dev-python/pyopenssl
dev-python/pyyaml
dev-python/webob
dev-python/mysql-python[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/imaging[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pycrypto[${PYTHON_USEDEP}]
dev-python/django[${PYTHON_USEDEP}]
dev-python/jinja[${PYTHON_USEDEP}]
dev-python/markupsafe[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/webob[${PYTHON_USEDEP}]
media-libs/libpng:1.2
${PYTHON_DEPS}
"
PYTHON_DEPEND="2"
S="${WORKDIR}/${PN/-/_}"
src_prepare(){
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v3
# $Header: $
EAPI="4"
inherit fdo-mime versionator eutils python
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit fdo-mime versionator eutils python-single-r1
MY_VER="$(get_version_component_range 1-2)+git$(get_version_component_range 3)"
SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/p/${PN}/${PN}_${MY_VER}.tar.gz"
@@ -17,18 +17,13 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-lang/python:2.7
dev-python/gevent"
RDEPEND="${PYTHON_DEPS}
dev-python/gevent[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools
dev-util/intltool"
dev-python/setuptools[${PYTHON_USEDEP}]
dev-util/intltool[${PYTHON_USEDEP}]"
S=${WORKDIR}/${PN}-${MY_VER}
pkg_setup() {
python_set_active_version 2.7
}
src_install() {
python setup.py install --root=${D} || die "Install failed"
"${PYTHON}" setup.py install --root=${D} || die "Install failed"
}
+6 -12
View File
@@ -2,12 +2,11 @@
# Distributed under the terms of the GNU General Public License v3
# $Header: $
EAPI="4"
inherit fdo-mime python
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit fdo-mime python-single-r1
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
DESCRIPTION="An easy-to-use interface to the Xapian search engine"
HOMEPAGE="http://code.google.com/p/xappy"
@@ -16,15 +15,10 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-lang/python-2.2
dev-libs/xapian-bindings[python]"
RDEPEND="${PYTHON_DEPS}
dev-libs/xapian-bindings[python,${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
pkg_setup() {
python_set_active_version 2
}
src_install() {
python setup.py install --root=${D} || die "Install failed"
"${PYTHON}" setup.py install --root=${D} || die "Install failed"
}