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/pure-protobuf/
Date: Sun,  3 May 2020 08:52:32 +0000 (UTC)	[thread overview]
Message-ID: <1588495941.0ef1df6a8741e456a193eec6d339d9b5b57f0b58.andrewammerlaan@gentoo> (raw)

commit:     0ef1df6a8741e456a193eec6d339d9b5b57f0b58
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun May  3 08:52:21 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun May  3 08:52:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0ef1df6a

dev-python/pure-protobuf: enable tests

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

 dev-python/pure-protobuf/Manifest                   |  2 +-
 dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild | 13 ++++++++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/dev-python/pure-protobuf/Manifest b/dev-python/pure-protobuf/Manifest
index 432ab18..2bfe6a0 100644
--- a/dev-python/pure-protobuf/Manifest
+++ b/dev-python/pure-protobuf/Manifest
@@ -1 +1 @@
-DIST pure-protobuf-2.0.0.tar.gz 14331 BLAKE2B 9936341ddc17918972141f9d167af70e281082cc154d2e96207f7b3fc8d07519284a332976bb694c63c9ec348b2b7076f3f74305af52edff4afe00593047461d SHA512 6eb3d85b82d9742c1b87bc46c261e707439f16a034824aa1751232ebf534be1bf5f7d7b0053834a1412e6309c73f1dcc323851ffffff262c8bbe266b5153051b
+DIST pure-protobuf-2.0.0.tar.gz 17576 BLAKE2B 49979559b3c08eb9abdddfa80e78ca4d953347a005b042d5b69aa4c6caef185c358408b1bf54d9161c0cadf69422b1ed033c74b324e947328c55f8b6ec4fd050 SHA512 a8d5211f34d0d6fab28d8b54fb3bb87d41a13b61a01f6f79f47fc1c0eafaf1ab17ddfd323c1035fcd4794b7b23823f48f38af3aa485835683f824cdd4689b098

diff --git a/dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild b/dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild
index bed1ae6..1325cff 100644
--- a/dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild
+++ b/dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild
@@ -12,8 +12,19 @@ HOMEPAGE="
 	https://github.com/eigenein/protobuf
 	https://pypi.org/project/pure-protobuf/
 "
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/eigenein/protobuf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
+
+S="${WORKDIR}/protobuf-${PV}"
+
+distutils_enable_tests pytest
+
+python_install() {
+	# Package installs 'tests' package which is forbidden and likely a bug in the build system.
+	rm -r tests || die
+
+	python_foreach_impl distutils-r1_python_install
+}


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/pure-protobuf/
Date: Sun,  3 May 2020 09:33:26 +0000 (UTC)	[thread overview]
Message-ID: <1588495941.0ef1df6a8741e456a193eec6d339d9b5b57f0b58.andrewammerlaan@gentoo> (raw)
Message-ID: <20200503093326.sU0CDcgSCq3PsigECvPHj0YyXvGR6phXtStM0pNEShc@z> (raw)

commit:     0ef1df6a8741e456a193eec6d339d9b5b57f0b58
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun May  3 08:52:21 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun May  3 08:52:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0ef1df6a

dev-python/pure-protobuf: enable tests

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

 dev-python/pure-protobuf/Manifest                   |  2 +-
 dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild | 13 ++++++++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/dev-python/pure-protobuf/Manifest b/dev-python/pure-protobuf/Manifest
index 432ab18..2bfe6a0 100644
--- a/dev-python/pure-protobuf/Manifest
+++ b/dev-python/pure-protobuf/Manifest
@@ -1 +1 @@
-DIST pure-protobuf-2.0.0.tar.gz 14331 BLAKE2B 9936341ddc17918972141f9d167af70e281082cc154d2e96207f7b3fc8d07519284a332976bb694c63c9ec348b2b7076f3f74305af52edff4afe00593047461d SHA512 6eb3d85b82d9742c1b87bc46c261e707439f16a034824aa1751232ebf534be1bf5f7d7b0053834a1412e6309c73f1dcc323851ffffff262c8bbe266b5153051b
+DIST pure-protobuf-2.0.0.tar.gz 17576 BLAKE2B 49979559b3c08eb9abdddfa80e78ca4d953347a005b042d5b69aa4c6caef185c358408b1bf54d9161c0cadf69422b1ed033c74b324e947328c55f8b6ec4fd050 SHA512 a8d5211f34d0d6fab28d8b54fb3bb87d41a13b61a01f6f79f47fc1c0eafaf1ab17ddfd323c1035fcd4794b7b23823f48f38af3aa485835683f824cdd4689b098

diff --git a/dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild b/dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild
index bed1ae6..1325cff 100644
--- a/dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild
+++ b/dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild
@@ -12,8 +12,19 @@ HOMEPAGE="
 	https://github.com/eigenein/protobuf
 	https://pypi.org/project/pure-protobuf/
 "
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/eigenein/protobuf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
+
+S="${WORKDIR}/protobuf-${PV}"
+
+distutils_enable_tests pytest
+
+python_install() {
+	# Package installs 'tests' package which is forbidden and likely a bug in the build system.
+	rm -r tests || die
+
+	python_foreach_impl distutils-r1_python_install
+}


             reply	other threads:[~2020-05-03  8:52 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-03  8:52 Andrew Ammerlaan [this message]
2020-05-03  9:33 ` [gentoo-commits] repo/proj/guru:master commit in: dev-python/pure-protobuf/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2024-03-06 12:16 [gentoo-commits] repo/proj/guru:dev " Takuya Wakazono
2024-01-26 10:06 Takuya Wakazono
2024-01-26 10:06 Takuya Wakazono
2023-05-08 16:45 Anna Vyalkova
2023-02-25 23:27 Anna Vyalkova
2023-02-15 13:56 Anna Vyalkova
2023-01-26 20:53 Anna Vyalkova
2022-12-25  2:19 Anna Vyalkova
2022-10-10 16:43 Anna Vyalkova
2022-01-21 16:43 Anna Vyalkova
2022-01-11 13:07 Anna Vyalkova
2022-01-09  0:01 Anna Vyalkova
2021-12-07 20:42 Maciej Barć
2021-06-03 17:37 Maciej Barć
2021-02-19  4:36 Maciej Barć
2020-09-28  7:26 Maciej Barć
2020-05-03 19:10 Maciej Barć
2020-05-03 19:10 Maciej Barć
2020-05-02 16:45 Maciej Barć

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=1588495941.0ef1df6a8741e456a193eec6d339d9b5b57f0b58.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