public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/lyricwikia/
Date: Fri, 27 Mar 2020 12:40:23 +0000 (UTC)	[thread overview]
Message-ID: <1585312670.51a0d611f41917fb6b5a5042e09a09b2a9d1a922.andrewammerlaan@gentoo> (raw)

commit:     51a0d611f41917fb6b5a5042e09a09b2a9d1a922
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar 27 12:37:50 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 27 12:37:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=51a0d611

dev-python/lyricwikia: do not depend on deprecated dep

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/lyricwikia/lyricwikia-0.1.11.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild b/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild
index b728042..ce02490 100644
--- a/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild
+++ b/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild
@@ -15,8 +15,6 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-BDEPEND="dev-python/pytest-runner[${PYTHON_USEDEP}]"
-
 DEPEND="test? ( dev-python/responses[${PYTHON_USEDEP}] )"
 
 RDEPEND="
@@ -28,6 +26,13 @@ PATCHES="${FILESDIR}/${P}-skip-online-test.patch"
 
 distutils_enable_tests pytest
 
+python_prepare_all() {
+	# do not depend on deprecated dep
+	sed -i -e '/pytest-runner/d' setup.py || die
+
+	distutils-r1_python_prepare_all
+}
+
 pkg_postinst() {
 	elog "Note that access to LyricWikia through this API (and products that use this API) should comply to the LyricWikia terms of use"
 }


WARNING: multiple messages have this Message-ID (diff)
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/lyricwikia/
Date: Fri, 27 Mar 2020 12:40:35 +0000 (UTC)	[thread overview]
Message-ID: <1585312670.51a0d611f41917fb6b5a5042e09a09b2a9d1a922.andrewammerlaan@gentoo> (raw)
Message-ID: <20200327124035.9qgY7mTjabdYU8KasNSXuoNsii3EmlDV1ffR7gnn17I@z> (raw)

commit:     51a0d611f41917fb6b5a5042e09a09b2a9d1a922
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar 27 12:37:50 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 27 12:37:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=51a0d611

dev-python/lyricwikia: do not depend on deprecated dep

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/lyricwikia/lyricwikia-0.1.11.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild b/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild
index b728042..ce02490 100644
--- a/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild
+++ b/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild
@@ -15,8 +15,6 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-BDEPEND="dev-python/pytest-runner[${PYTHON_USEDEP}]"
-
 DEPEND="test? ( dev-python/responses[${PYTHON_USEDEP}] )"
 
 RDEPEND="
@@ -28,6 +26,13 @@ PATCHES="${FILESDIR}/${P}-skip-online-test.patch"
 
 distutils_enable_tests pytest
 
+python_prepare_all() {
+	# do not depend on deprecated dep
+	sed -i -e '/pytest-runner/d' setup.py || die
+
+	distutils-r1_python_prepare_all
+}
+
 pkg_postinst() {
 	elog "Note that access to LyricWikia through this API (and products that use this API) should comply to the LyricWikia terms of use"
 }


             reply	other threads:[~2020-03-27 12:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-27 12:40 Andrew Ammerlaan [this message]
2020-03-27 12:40 ` [gentoo-commits] repo/proj/guru:master commit in: dev-python/lyricwikia/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2020-03-13 17:56 Andrew Ammerlaan
2020-03-13 17:55 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-10 15:50 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-10 15:49 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-02-10 14:19 Andrew Ammerlaan

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=1585312670.51a0d611f41917fb6b5a5042e09a09b2a9d1a922.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --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