summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-physics/xrayutilities/metadata.xml1
-rw-r--r--sci-physics/xrayutilities/xrayutilities-1.7.7.ebuild3
-rw-r--r--sci-physics/xrayutilities/xrayutilities-9999.ebuild3
3 files changed, 6 insertions, 1 deletions
diff --git a/sci-physics/xrayutilities/metadata.xml b/sci-physics/xrayutilities/metadata.xml
index ffdd66f..bb14bb8 100644
--- a/sci-physics/xrayutilities/metadata.xml
+++ b/sci-physics/xrayutilities/metadata.xml
@@ -13,6 +13,7 @@
<upstream>
<bugs-to>https://github.com/dkriegner/xrayutilities/issues/</bugs-to>
<remote-id type="github">dkriegner/xrayutilities</remote-id>
+ <remote-id type="pypi">xrayutilities</remote-id>
<doc lang="en">https://xrayutilities.sourceforge.io/</doc>
</upstream>
</pkgmetadata>
diff --git a/sci-physics/xrayutilities/xrayutilities-1.7.7.ebuild b/sci-physics/xrayutilities/xrayutilities-1.7.7.ebuild
index f3e51df..fce8086 100644
--- a/sci-physics/xrayutilities/xrayutilities-1.7.7.ebuild
+++ b/sci-physics/xrayutilities/xrayutilities-1.7.7.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=(python3_{8..12} )
inherit distutils-r1 pypi
@@ -23,6 +24,8 @@ RDEPEND="${DEPEND}
>sys-devel/gcc-4.2:*[openmp?]
test? ( dev-python/pytest )"
+RESTRICT="!test? ( test )"
+
DOCS=( README.md CHANGES.txt )
python_configure_all() {
diff --git a/sci-physics/xrayutilities/xrayutilities-9999.ebuild b/sci-physics/xrayutilities/xrayutilities-9999.ebuild
index d70a7cb..c922fce 100644
--- a/sci-physics/xrayutilities/xrayutilities-9999.ebuild
+++ b/sci-physics/xrayutilities/xrayutilities-9999.ebuild
@@ -14,7 +14,6 @@ EGIT_REPO_URI="https://github.com/dkriegner/xrayutilities.git"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
IUSE="openmp test"
RDEPEND=">=dev-python/numpy-1.9:=
@@ -24,6 +23,8 @@ DEPEND="${RDEPEND}
>sys-devel/gcc-4.2:*[openmp?]
test? ( dev-python/pytest )"
+RESTRICT="!test? ( test )"
+
DOCS=( README.md CHANGES.txt )
python_configure_all() {