diff options
author | Dominik Kriegner <dominik.kriegner@gmail.com> | 2015-04-28 23:32:16 +0200 |
---|---|---|
committer | Dominik Kriegner <dominik.kriegner@gmail.com> | 2015-04-28 23:32:16 +0200 |
commit | 86ae3535fe363ecc99657394c0f11db1c728a692 (patch) | |
tree | 6150c1dd82f5644bb8d8d432975e8da2696f54b9 /sci-physics/xrayutilities/xrayutilities-1.1.2.ebuild | |
parent | add metadata.xml files (diff) | |
download | anaximander-86ae3535fe363ecc99657394c0f11db1c728a692.tar.gz anaximander-86ae3535fe363ecc99657394c0f11db1c728a692.tar.bz2 anaximander-86ae3535fe363ecc99657394c0f11db1c728a692.zip |
bump xrayutilities to 1.1.2
remove old deprecated patches
Diffstat (limited to 'sci-physics/xrayutilities/xrayutilities-1.1.2.ebuild')
-rw-r--r-- | sci-physics/xrayutilities/xrayutilities-1.1.2.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-physics/xrayutilities/xrayutilities-1.1.2.ebuild b/sci-physics/xrayutilities/xrayutilities-1.1.2.ebuild new file mode 100644 index 0000000..c44dbd3 --- /dev/null +++ b/sci-physics/xrayutilities/xrayutilities-1.1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT=(python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="package with useful scripts for X-ray diffraction physicists" +HOMEPAGE="http://sourceforge.net/projects/xrayutilities" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="openmp test" + +DEPEND="dev-python/numpy + sci-libs/scipy + dev-python/pytables + >sys-devel/gcc-4.2:*[openmp?]" +RDEPEND="${DEPEND}" + +DOCS=(README.txt CHANGES.txt xrayutilities.pdf) +EXAMPLES=( examples/. ) + +python_configure_all() { + if ! use openmp; then + mydistutilsargs=( --without-openmp ) + fi +} + +python_test() { + cd xrayutilities/tests + $PYTHON -m unittest discover || die +} |