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/aiofiles/
Date: Fri, 13 Mar 2020 20:46:53 +0000 (UTC)	[thread overview]
Message-ID: <1584132378.4abcd443a1c52ef3232fa7068e335a3524a2c294.andrewammerlaan@gentoo> (raw)

commit:     4abcd443a1c52ef3232fa7068e335a3524a2c294
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar 13 20:46:18 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 13 20:46:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4abcd443

dev-python/aiofiles: enable tests

had to switch to the github tarball because the pypi tarball
does not contain tests. Also pytest-asyncio sadly does not
support py3_8 or pypy3 yet, so that had to go.

If it is desirable to add py3_8 or pypy3 anyway.
A workaround could be to RESTRICT="python_targets_python3_8? ( test )"
and REQUIRED_USE="python_targets_python3_8? ( !test )"

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

 dev-python/aiofiles/Manifest              | 2 +-
 dev-python/aiofiles/aiofiles-0.4.0.ebuild | 8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-python/aiofiles/Manifest b/dev-python/aiofiles/Manifest
index c9d4b4f..ca27e48 100644
--- a/dev-python/aiofiles/Manifest
+++ b/dev-python/aiofiles/Manifest
@@ -1 +1 @@
-DIST aiofiles-0.4.0.tar.gz 9270 BLAKE2B 05eb8bc76cfdb4be4c82cacf15ab5e0a59d652d5db641cbad9fd20a431e17f16606cae413092d20453710435b3de829b2cb61c983efb1ce4b70a863958fc9fe3 SHA512 ad41aed2151fc2adf01ddbaec7fcc772c2ee8e33609dff881d00e255412c2142b0594e70eca32e73accd120d13e1f112b20a627fae2fa343b96d18f59371c9da
+DIST aiofiles-0.4.0.tar.gz 12942 BLAKE2B c8e6570f0759cf97b642a8feec4a572dc40a86906c9f7e749fa5b20346b61000d62d72c1ef8316e03adc1352021ec622fe9c670e916fdf84f41845ce37f1de51 SHA512 9e1f8b2beb3ca2996b35de9281ceafbb8ccdeab4b213f9605cb5908558c5f495d1cf4481ac229ca44bb236ad99826d89d137ec6ac4386c23b6e056b657a6bf4a

diff --git a/dev-python/aiofiles/aiofiles-0.4.0.ebuild b/dev-python/aiofiles/aiofiles-0.4.0.ebuild
index 12e33e0..e61975b 100644
--- a/dev-python/aiofiles/aiofiles-0.4.0.ebuild
+++ b/dev-python/aiofiles/aiofiles-0.4.0.ebuild
@@ -3,14 +3,18 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 
 DESCRIPTION="File support for asyncio"
 HOMEPAGE="https://github.com/Tinche/aiofiles"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/Tinche/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+
+DEPEND="test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest


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/aiofiles/
Date: Fri, 13 Mar 2020 20:48:06 +0000 (UTC)	[thread overview]
Message-ID: <1584132378.4abcd443a1c52ef3232fa7068e335a3524a2c294.andrewammerlaan@gentoo> (raw)
Message-ID: <20200313204806.C0OSi_5H-8seN7D_2MNlmNkH6cjqYeKYwQFKhQFM90I@z> (raw)

commit:     4abcd443a1c52ef3232fa7068e335a3524a2c294
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar 13 20:46:18 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 13 20:46:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4abcd443

dev-python/aiofiles: enable tests

had to switch to the github tarball because the pypi tarball
does not contain tests. Also pytest-asyncio sadly does not
support py3_8 or pypy3 yet, so that had to go.

If it is desirable to add py3_8 or pypy3 anyway.
A workaround could be to RESTRICT="python_targets_python3_8? ( test )"
and REQUIRED_USE="python_targets_python3_8? ( !test )"

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

 dev-python/aiofiles/Manifest              | 2 +-
 dev-python/aiofiles/aiofiles-0.4.0.ebuild | 8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-python/aiofiles/Manifest b/dev-python/aiofiles/Manifest
index c9d4b4f..ca27e48 100644
--- a/dev-python/aiofiles/Manifest
+++ b/dev-python/aiofiles/Manifest
@@ -1 +1 @@
-DIST aiofiles-0.4.0.tar.gz 9270 BLAKE2B 05eb8bc76cfdb4be4c82cacf15ab5e0a59d652d5db641cbad9fd20a431e17f16606cae413092d20453710435b3de829b2cb61c983efb1ce4b70a863958fc9fe3 SHA512 ad41aed2151fc2adf01ddbaec7fcc772c2ee8e33609dff881d00e255412c2142b0594e70eca32e73accd120d13e1f112b20a627fae2fa343b96d18f59371c9da
+DIST aiofiles-0.4.0.tar.gz 12942 BLAKE2B c8e6570f0759cf97b642a8feec4a572dc40a86906c9f7e749fa5b20346b61000d62d72c1ef8316e03adc1352021ec622fe9c670e916fdf84f41845ce37f1de51 SHA512 9e1f8b2beb3ca2996b35de9281ceafbb8ccdeab4b213f9605cb5908558c5f495d1cf4481ac229ca44bb236ad99826d89d137ec6ac4386c23b6e056b657a6bf4a

diff --git a/dev-python/aiofiles/aiofiles-0.4.0.ebuild b/dev-python/aiofiles/aiofiles-0.4.0.ebuild
index 12e33e0..e61975b 100644
--- a/dev-python/aiofiles/aiofiles-0.4.0.ebuild
+++ b/dev-python/aiofiles/aiofiles-0.4.0.ebuild
@@ -3,14 +3,18 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 
 DESCRIPTION="File support for asyncio"
 HOMEPAGE="https://github.com/Tinche/aiofiles"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/Tinche/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+
+DEPEND="test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest


             reply	other threads:[~2020-03-13 20:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-13 20:46 Andrew Ammerlaan [this message]
2020-03-13 20:48 ` [gentoo-commits] repo/proj/guru:master commit in: dev-python/aiofiles/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2020-06-30  6:14 [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2020-05-01 15:39 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-01 15:36 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-13 20:09 Piotr Staroszczyk

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=1584132378.4abcd443a1c52ef3232fa7068e335a3524a2c294.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