Covert packages using python.eclass to new eclasses(https://bugs.gentoo.org/show_bug.cgi?id=610160);
This commit is contained in:
1 parent
0775f171c5
commit
6a83ceb2bf
14 files changed
+30
-212
No files matched your search
@@ -1,2 +1 @@
|
||||
DIST deepin-utils_0.0.1-1+git20130502093354ubuntu2.tar.gz 13074 SHA256 d3732bb24e869928f1c1967f95aed4f4a014c065dd226661d858cf785f41ae4b
|
||||
DIST deepin-utils_0.0.2+20140703165416~8aaf2a6f00.tar.gz 15477 SHA256 823380c71cba9d3ccb7815e6c445d0c2e4955d88164551c3e3c4ba7d084cf51b
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit fdo-mime versionator eutils python
|
||||
|
||||
MY_VER="$(get_version_component_range 1-3)-1+git$(get_version_component_range 4)ubuntu2"
|
||||
SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz"
|
||||
|
||||
DESCRIPTION="Utils of DeepinUI Toolkit modules"
|
||||
HOMEPAGE="http://www.linuxdeepin.com"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-libs/glibc-2.14
|
||||
>=dev-libs/glib-2.24.0:2
|
||||
>=dev-lang/python-2.7:2.7
|
||||
x11-libs/cairo
|
||||
dev-python/pycairo
|
||||
x11-libs/gtk+:2
|
||||
dev-python/pygtk:2
|
||||
net-libs/webkit-gtk:2
|
||||
dev-python/pywebkitgtk
|
||||
dev-python/python-xlib
|
||||
>=media-libs/freetype-2.2.1:2
|
||||
>=net-libs/libsoup-2.26.1"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2.7
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
python setup.py install --root=${D} || die "Install failed"
|
||||
}
|
||||
+4
-10
@@ -2,9 +2,11 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
EAPI="5"
|
||||
|
||||
inherit fdo-mime versionator eutils python
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_SINGLE_IMPL=true
|
||||
inherit versionator distutils-r1
|
||||
|
||||
MY_VER="$(get_version_component_range 1-3)+$(get_version_component_range 4)~8aaf2a6f00"
|
||||
SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz"
|
||||
@@ -33,11 +35,3 @@ DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)+$(get_version_component_range 4)~8aaf2a6f00"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2.7
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
python setup.py install --root=${D} || die "Install failed"
|
||||
}
|
||||
Reference in new issue
Block a user