diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2013-12-03 12:21:08 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2013-12-03 12:21:08 +0000 |
commit | b572d77775c1e578d2e05a97e4d93791416810cd (patch) | |
tree | 7d1313daaab06cd714ef07b73676a69f6af0c000 /dev-util/spec-cleaner/spec-cleaner-0.5.1.ebuild | |
parent | Remove my repository from EGIT_REPO_URI since it is not up-to-date. (diff) | |
download | historical-b572d77775c1e578d2e05a97e4d93791416810cd.tar.gz historical-b572d77775c1e578d2e05a97e4d93791416810cd.tar.bz2 historical-b572d77775c1e578d2e05a97e4d93791416810cd.zip |
Initial commit. Package used to cleanup spec files formatting.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x8EEE3BE8
Diffstat (limited to 'dev-util/spec-cleaner/spec-cleaner-0.5.1.ebuild')
-rw-r--r-- | dev-util/spec-cleaner/spec-cleaner-0.5.1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/spec-cleaner/spec-cleaner-0.5.1.ebuild b/dev-util/spec-cleaner/spec-cleaner-0.5.1.ebuild new file mode 100644 index 000000000000..e86795f693ab --- /dev/null +++ b/dev-util/spec-cleaner/spec-cleaner-0.5.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/spec-cleaner/spec-cleaner-0.5.1.ebuild,v 1.1 2013/12/03 12:21:00 scarabeus Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) +EGIT_REPO_URI="https://github.com/openSUSE/spec-cleaner.git" +inherit python-single-r1 multilib +[[ ${PV} == 9999 ]] && inherit git-r3 + +DESCRIPTION="SUSE spec file cleaner and formatter" +HOMEPAGE="https://github.com/openSUSE/spec-cleaner" +[[ ${PV} != 9999 ]] && SRC_URI="https://github.com/openSUSE/${PN}/archive/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +[[ ${PV} != 9999 ]] && \ +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="${DEPEND} + ${PYTHON_DEPS} +" + +[[ ${PV} != 9999 ]] && S="${WORKDIR}/${PN}-${P}" + +src_compile() { + : +} + +src_install() { + emake DESTDIR="${D}" install \ + LIBEXECDIR=/usr/libexec/ \ + LIBDIR=/usr/$(get_libdir) \ + SITEDIR=$(python_get_sitedir) + + python_fix_shebang "${D}" +} + +src_test() { + emake check +} |