public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Heidelberg" <david@ixit.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pykeepass/
Date: Sun, 26 Apr 2020 14:14:38 +0000 (UTC)	[thread overview]
Message-ID: <1587910462.3b81495151e5e4c9324125b7ff68d490edd223c7.okias@gentoo> (raw)

commit:     3b81495151e5e4c9324125b7ff68d490edd223c7
Author:     David Heidelberg <david <AT> ixit <DOT> cz>
AuthorDate: Sun Apr 26 14:14:22 2020 +0000
Commit:     David Heidelberg <david <AT> ixit <DOT> cz>
CommitDate: Sun Apr 26 14:14:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b814951

dev-python/pykeepass: implement tests

Thanks for hint to Andrew Ammerlaan.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Heidelberg <david <AT> ixit.cz>

 dev-python/pykeepass/pykeepass-3.2.0.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/dev-python/pykeepass/pykeepass-3.2.0.ebuild b/dev-python/pykeepass/pykeepass-3.2.0.ebuild
index e37bcfc..49a675c 100644
--- a/dev-python/pykeepass/pykeepass-3.2.0.ebuild
+++ b/dev-python/pykeepass/pykeepass-3.2.0.ebuild
@@ -14,7 +14,8 @@ SRC_URI="https://github.com/libkeepass/pykeepass/archive/${PV}.tar.gz -> ${P}.ta
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
 	>=dev-python/lxml-4.3.4
@@ -24,9 +25,9 @@ RDEPEND="
 	>=dev-python/python-dateutil-2.8.0
 	>=dev-python/future-0.17.0"
 DEPEND="${RDEPEND}"
-BDEPEND="
-	virtual/pkgconfig
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	"
 
 PATCHES=( "${FILESDIR}/0001-setup.py-exclude-tests-directory.patch" )
+
+python_test() {
+	"${EPYTHON}" tests/tests.py -v || die
+}


             reply	other threads:[~2020-04-26 14:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-26 14:14 David Heidelberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-04-26 17:11 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pykeepass/ David Heidelberg
2020-06-30 19:31 Andrew Ammerlaan
2020-12-09  4:41 Theo Anderson
2020-12-09  4:41 Theo Anderson
2021-01-08 10:39 Theo Anderson
2021-01-08 10:39 Theo Anderson
2021-02-08  3:02 Theo Anderson
2021-10-04  8:11 Theo Anderson
2022-06-08  5:14 Theo Anderson
2024-04-08 10:12 Kyle Elbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1587910462.3b81495151e5e4c9324125b7ff68d490edd223c7.okias@gentoo \
    --to=david@ixit.cz \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox