diff options
-rw-r--r-- | sci-chemistry/mgltools-opengltk/ChangeLog | 8 | ||||
-rw-r--r-- | sci-chemistry/mgltools-opengltk/Manifest | 3 | ||||
-rw-r--r-- | sci-chemistry/mgltools-opengltk/metadata.xml | 2 | ||||
-rw-r--r-- | sci-chemistry/mgltools-opengltk/mgltools-opengltk-1.5.6_rc3.ebuild | 64 |
4 files changed, 74 insertions, 3 deletions
diff --git a/sci-chemistry/mgltools-opengltk/ChangeLog b/sci-chemistry/mgltools-opengltk/ChangeLog index 1805fc8e5..a54d6f9a0 100644 --- a/sci-chemistry/mgltools-opengltk/ChangeLog +++ b/sci-chemistry/mgltools-opengltk/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for sci-chemistry/mgltools-opengltk -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*mgltools-opengltk-1.5.6_rc3 (27 Jan 2013) + + 27 Jan 2013; Justin Lecher <jlec@gentoo.org> + +mgltools-opengltk-1.5.6_rc3.ebuild, metadata.xml: + Version Bump; move to distutils-r1.eclass + 08 Jun 2012; Justin Lecher <jlec@gentoo.org> mgltools-opengltk-1.5.6_rc2.ebuild, +files/mgltools-opengltk-1.5.6_rc2-glew.patch, diff --git a/sci-chemistry/mgltools-opengltk/Manifest b/sci-chemistry/mgltools-opengltk/Manifest index bc3dec055..9fcb347fe 100644 --- a/sci-chemistry/mgltools-opengltk/Manifest +++ b/sci-chemistry/mgltools-opengltk/Manifest @@ -1,2 +1,3 @@ DIST mgltools_source_1.5.4.tar.gz 25503517 SHA256 1ea3da342b4d49d7a92dcb5d6da1d805e71652fd70ba7a5653335990629c80f0 SHA512 e3372776674f5cf31d61627a52be938b6309392137e55250d4ba57f7d6112874ab4647faeb3c90db3b567590c67aa54e452e0f09fc1da547b1a4baccbe1e83d0 WHIRLPOOL c4a80d5b80eac042b533ff5dd815353e868233ea385a74374bc57709e89150227234a2f2af6c477d0efa1a3e1c17cedfd5a15eb6a950e49f09ef960613d15726 -DIST mgltools_source_1.5.6rc2.tar.gz 40248519 RMD160 4a07eb367c5e7e198dfbe5ce8853c5b6294707bc SHA1 ef349afb917be57ec947a93fc2119c59df97585e SHA256 a783ca8ed4a44c6fcc6e31f8f54c91dd87f39a0521368717b49a354958ef0d49 SHA512 c1df3d87d218a2a10e376136ad545f8e578b05fc5c617844be713242714d6dd85c094d03928e1b7cfee5e59f47dc996a199d4aee16bede5c83bd5c204e9af315 WHIRLPOOL 62e0448a13d87694d45756ddc5443034e3287938f4f0c4c42036583f92505a52d5add89d13f2855fc087c00705c8bf239cfdbdefbeac709d3ebd535009074ab8 +DIST mgltools_source_1.5.6rc2.tar.gz 40248519 SHA256 a783ca8ed4a44c6fcc6e31f8f54c91dd87f39a0521368717b49a354958ef0d49 SHA512 c1df3d87d218a2a10e376136ad545f8e578b05fc5c617844be713242714d6dd85c094d03928e1b7cfee5e59f47dc996a199d4aee16bede5c83bd5c204e9af315 WHIRLPOOL 62e0448a13d87694d45756ddc5443034e3287938f4f0c4c42036583f92505a52d5add89d13f2855fc087c00705c8bf239cfdbdefbeac709d3ebd535009074ab8 +DIST mgltools_source_1.5.6rc3.tar.gz 40265343 SHA256 cd22f1ca00cbb4981a54f14d5cbce41ac1cc15c002030e9cfcfe9f3bf275f908 SHA512 c7d8a07606d2963e94129870641c31e145cb1fe620e62f42851c9e6117c19d2e6f164377684517899bd4d7e8149db1b92ae395066b4ff17a27f98eada274cc7b WHIRLPOOL 80810ed088abceeaea94b75840ff9450acea0a326583187c1cc32743b66daf32a5e8d85e1493fdab5bbc3d879ab832546bd1b1f40b9abbe488185b82ea5eacde diff --git a/sci-chemistry/mgltools-opengltk/metadata.xml b/sci-chemistry/mgltools-opengltk/metadata.xml index e42d0af60..51fdedab1 100644 --- a/sci-chemistry/mgltools-opengltk/metadata.xml +++ b/sci-chemistry/mgltools-opengltk/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci-chemistry</herd> + <herd>sci-chemistry</herd> </pkgmetadata> diff --git a/sci-chemistry/mgltools-opengltk/mgltools-opengltk-1.5.6_rc3.ebuild b/sci-chemistry/mgltools-opengltk/mgltools-opengltk-1.5.6_rc3.ebuild new file mode 100644 index 000000000..2d0cd0efb --- /dev/null +++ b/sci-chemistry/mgltools-opengltk/mgltools-opengltk-1.5.6_rc3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_5,2_6,2_7} ) + +inherit distutils-r1 eutils prefix + +MY_PN="opengltk" +MY_P="${MY_PN}-${PV/_rc3/}" + +PYTHON_MODNAME="${MY_PN}" + +DESCRIPTION="MGLTools Plugin -- opengltk" +HOMEPAGE="http://mgltools.scripps.edu" +#SRC_URI="http://mgltools.scripps.edu/downloads/tars/releases/REL${PV}/mgltools_source_${PV}.tar.gz" +SRC_URI="http://dev.gentoo.org/~jlec/distfiles/mgltools_source_${PV/_/}.tar.gz" + +LICENSE="MGLTOOLS" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-lang/tk + dev-python/numpy + dev-tcltk/tkdnd + dev-tcltk/togl + media-libs/glew + virtual/opengl" +DEPEND="${RDEPEND} + dev-lang/swig" + +S="${WORKDIR}"/${MY_P} + +src_unpack() { + tar xzpf "${DISTDIR}"/${A} mgltools_source_${PV/_/}/MGLPACKS/${MY_P}.tar.gz + tar xzpf mgltools_source_${PV/_/}/MGLPACKS/${MY_P}.tar.gz +} + +python_prepare_all() { + local tcl_ver="$(best_version dev-lang/tcl | cut -d- -f3 | cut -d. -f1,2)" + + local PATCHES=( "${FILESDIR}"/${PN}-1.5.6_rc2-unbundle.patch ) + + eprefixify setup.py + + ecvs_clean + find "${S}" -name LICENSE -type f -delete || die + find Togl2.0 tkdnd2.0 include/tcltk84 -delete || die + + sed \ + -e 's:^.*CVS:#&1:g' \ + -e 's:^.*LICENSE:#&1:g' \ + -i "${S}"/MANIFEST.in || die + + sed \ + -e "s:8.4:${tcl_ver}:g" \ + -e "s:8.5:${tcl_ver}:g" \ + -i setup.py || die + distutils-r1_python_prepare_all +} |