diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2013-12-03 12:21:00 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2013-12-03 12:21:00 +0000 |
commit | d7ca20ca893d333d1861f475a82de530cee3bf0e (patch) | |
tree | e90b9686bf1563273b8520272497e2a4b7d2dcea /dev-util | |
parent | Remove my repository from EGIT_REPO_URI since it is not up-to-date. (diff) | |
download | gentoo-2-d7ca20ca893d333d1861f475a82de530cee3bf0e.tar.gz gentoo-2-d7ca20ca893d333d1861f475a82de530cee3bf0e.tar.bz2 gentoo-2-d7ca20ca893d333d1861f475a82de530cee3bf0e.zip |
Initial commit. Package used to cleanup spec files formatting.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/spec-cleaner/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/spec-cleaner/metadata.xml | 6 | ||||
-rw-r--r-- | dev-util/spec-cleaner/spec-cleaner-0.5.1.ebuild | 43 | ||||
-rw-r--r-- | dev-util/spec-cleaner/spec-cleaner-9999.ebuild | 43 |
4 files changed, 102 insertions, 0 deletions
diff --git a/dev-util/spec-cleaner/ChangeLog b/dev-util/spec-cleaner/ChangeLog new file mode 100644 index 000000000000..658cfe4efa5f --- /dev/null +++ b/dev-util/spec-cleaner/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-util/spec-cleaner +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/spec-cleaner/ChangeLog,v 1.1 2013/12/03 12:21:00 scarabeus Exp $ + +*spec-cleaner-0.5.1 (03 Dec 2013) +*spec-cleaner-9999 (03 Dec 2013) + + 03 Dec 2013; Tomáš Chvátal <scarabeus@gentoo.org> +metadata.xml, + +spec-cleaner-0.5.1.ebuild, +spec-cleaner-9999.ebuild: + Initial commit. Package used to cleanup spec files formatting. diff --git a/dev-util/spec-cleaner/metadata.xml b/dev-util/spec-cleaner/metadata.xml new file mode 100644 index 000000000000..9b2336726aa6 --- /dev/null +++ b/dev-util/spec-cleaner/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>suse</herd> +</pkgmetadata> + 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 +} diff --git a/dev-util/spec-cleaner/spec-cleaner-9999.ebuild b/dev-util/spec-cleaner/spec-cleaner-9999.ebuild new file mode 100644 index 000000000000..e53e9199b628 --- /dev/null +++ b/dev-util/spec-cleaner/spec-cleaner-9999.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-9999.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 +} |