summaryrefslogtreecommitdiff
path: root/dev-python/blurb
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-09-10 07:09:04 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-09-10 07:09:04 +0000
commita30a448aff4f450deba8f0bfc4fca47aaf67663a (patch)
treebcf0ae861600503ba0e53907d4a66c7820e44732 /dev-python/blurb
parentea69f9cb1eba5e9fdead50428ff2bc672fe3f218 (diff)
downloadbaldeagleos-repo-a30a448aff4f450deba8f0bfc4fca47aaf67663a.tar.gz
baldeagleos-repo-a30a448aff4f450deba8f0bfc4fca47aaf67663a.tar.xz
baldeagleos-repo-a30a448aff4f450deba8f0bfc4fca47aaf67663a.zip
Adding metadata
Diffstat (limited to 'dev-python/blurb')
-rw-r--r--dev-python/blurb/blurb-1.0.7.ebuild2
-rw-r--r--dev-python/blurb/blurb-1.0.8.ebuild16
2 files changed, 14 insertions, 4 deletions
diff --git a/dev-python/blurb/blurb-1.0.7.ebuild b/dev-python/blurb/blurb-1.0.7.ebuild
index 56a789309522..0bf5f6f5fdc7 100644
--- a/dev-python/blurb/blurb-1.0.7.ebuild
+++ b/dev-python/blurb/blurb-1.0.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018 Sony Interactive Entertainment Inc.
+# Copyright 2018-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/dev-python/blurb/blurb-1.0.8.ebuild b/dev-python/blurb/blurb-1.0.8.ebuild
index d077072a98ea..4f3840d42f3c 100644
--- a/dev-python/blurb/blurb-1.0.8.ebuild
+++ b/dev-python/blurb/blurb-1.0.8.ebuild
@@ -1,9 +1,8 @@
-# Copyright 2018 Sony Interactive Entertainment Inc.
+# Copyright 2018-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
inherit distutils-r1
@@ -18,3 +17,14 @@ KEYWORDS="~amd64 ~x86"
PATCHES=(
"${FILESDIR}/blurb-setuptools.patch"
)
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # Tests expect to be run from github repo, in which code is inside dir
+ ln -s . blurb || die
+}
+
+python_test() {
+ "${EPYTHON}" -m blurb test || die "Tests failed with ${EPYTHON}"
+}