Files
gentoo-zh/dev-python/deepin-utils/deepin-utils-0.0.2.20140703165416.ebuild
T
2014-10-18 13:50:12 +08:00

39 lines
934 B
Bash

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v3
# $Header: $
EAPI="4"
inherit fdo-mime versionator eutils python
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"
DESCRIPTION="Utils of DeepinUI Toolkit modules"
HOMEPAGE="http://www.linuxdeepin.com"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=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/python-xlib"
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"
}