diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-02-06 15:43:16 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-02-06 15:43:16 +0000 |
commit | f4ae4f357eb7727cd61caf97c4ca88180ae0d0ab (patch) | |
tree | bcfbdde4890e56f0c2f9675db91a65511587e620 /sci-libs | |
parent | Remove old. (diff) | |
download | gentoo-2-f4ae4f357eb7727cd61caf97c4ca88180ae0d0ab.tar.gz gentoo-2-f4ae4f357eb7727cd61caf97c4ca88180ae0d0ab.tar.bz2 gentoo-2-f4ae4f357eb7727cd61caf97c4ca88180ae0d0ab.zip |
sci-libs/scikits: Convert to new python eclasses
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/scikits/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/scikits/metadata.xml | 10 | ||||
-rw-r--r-- | sci-libs/scikits/scikits-0.1-r1.ebuild | 30 | ||||
-rw-r--r-- | sci-libs/scikits/scikits-0.1.ebuild | 12 |
4 files changed, 49 insertions, 13 deletions
diff --git a/sci-libs/scikits/ChangeLog b/sci-libs/scikits/ChangeLog index 41bb21dba820..cffc52fd4fc9 100644 --- a/sci-libs/scikits/ChangeLog +++ b/sci-libs/scikits/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/scikits -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits/ChangeLog,v 1.3 2012/06/26 23:36:58 bicatali Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits/ChangeLog,v 1.4 2013/02/06 15:43:16 jlec Exp $ + +*scikits-0.1-r1 (06 Feb 2013) + + 06 Feb 2013; Justin Lecher <jlec@gentoo.org> scikits-0.1.ebuild, + +scikits-0.1-r1.ebuild, metadata.xml: + Convert to new python eclasses 26 Jun 2012; Sebastien Fabbro <fabbros@gentoo.org> scikits-0.1.ebuild: keyword amd64-linux and x86-linux diff --git a/sci-libs/scikits/metadata.xml b/sci-libs/scikits/metadata.xml index 2741d5bbe5a6..6fef9af01ab7 100644 --- a/sci-libs/scikits/metadata.xml +++ b/sci-libs/scikits/metadata.xml @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> - <longdescription lang="en">Meta package for the scikits. Include a standard example as well.</longdescription> - <upstream> - <remote-id type="pypi">scikits.example</remote-id> - </upstream> + <herd>sci</herd> + <longdescription lang="en">Meta package for the scikits. Include a standard example as well.</longdescription> + <upstream> + <remote-id type="pypi">scikits.example</remote-id> + </upstream> </pkgmetadata> diff --git a/sci-libs/scikits/scikits-0.1-r1.ebuild b/sci-libs/scikits/scikits-0.1-r1.ebuild new file mode 100644 index 000000000000..d2c5327b9d94 --- /dev/null +++ b/sci-libs/scikits/scikits-0.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits/scikits-0.1-r1.ebuild,v 1.1 2013/02/06 15:43:16 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} ) + +inherit python-r1 + +DESCRIPTION="Common files for python scikits" +HOMEPAGE="http://projects.scipy.org/scipy/scikits" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}.example/${PN}.example-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +S="${WORKDIR}" + +src_install() { + python_moduleinto scikits + python_foreach_impl python_domodule scikits.example*/scikits/__init__.py + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r scikits.example*/* + fi +} diff --git a/sci-libs/scikits/scikits-0.1.ebuild b/sci-libs/scikits/scikits-0.1.ebuild index 21b007b13c25..488d2f4eb4dd 100644 --- a/sci-libs/scikits/scikits-0.1.ebuild +++ b/sci-libs/scikits/scikits-0.1.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits/scikits-0.1.ebuild,v 1.4 2012/06/26 23:36:58 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits/scikits-0.1.ebuild,v 1.5 2013/02/06 15:43:16 jlec Exp $ EAPI=4 + SUPPORT_PYTHON_ABIS="1" + inherit python DESCRIPTION="Common files for python scikits" @@ -15,18 +17,16 @@ SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="examples" -RDEPEND="" -DEPEND="" S="${WORKDIR}" src_install() { install_scikits() { insinto $(python_get_sitedir)/scikits - doins scikits.example*/scikits/__init__.py || die + doins scikits.example*/scikits/__init__.py } python_execute_function -q install_scikits if use examples; then insinto /usr/share/doc/${PF}/examples - doins -r scikits.example*/* || die + doins -r scikits.example*/* fi } |