public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pure-protobuf/
Date: Sun, 25 Dec 2022 02:19:36 +0000 (UTC)	[thread overview]
Message-ID: <1671934761.19c4e883b08aa41ab1b5f0a0a7142ddf135665b6.cybertailor@gentoo> (raw)

commit:     19c4e883b08aa41ab1b5f0a0a7142ddf135665b6
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Dec 23 22:22:40 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Dec 25 02:19:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19c4e883

dev-python/pure-protobuf: add 2.2.0, drop 2.1.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/pure-protobuf/Manifest                           |  2 +-
 ...ure-protobuf-2.1.0.ebuild => pure-protobuf-2.2.0.ebuild} | 13 ++++++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/dev-python/pure-protobuf/Manifest b/dev-python/pure-protobuf/Manifest
index 0dc3ee71b..e54eac54f 100644
--- a/dev-python/pure-protobuf/Manifest
+++ b/dev-python/pure-protobuf/Manifest
@@ -1,2 +1,2 @@
-DIST pure-protobuf-2.1.0.tar.gz 15566 BLAKE2B 9e07c5dc70c928bfb20504c58f60cdea51dbc45a41134cf95056829b1aec3b5f1f4e684d101332c5764349fda863aa11301c6eab99eb4c34b74a43161640ba8b SHA512 7c76eaf866a7cdddc886a583883f4aec502c4edb1952902b8a6a259b10d0577adc94874e1e1dfc0378690791872248d878e0448925ab68468bd71a194dc100fc
 DIST pure-protobuf-2.1.1.tar.gz 16883 BLAKE2B 29c5011536ac034703ce796d38a9a35c7523784b9887eef4c548c842a19dd4fa9aae0d27260b3ff076e3f3ee2e3113351d0d9b47ad7f8c538e9af624756a3469 SHA512 57af254ecd43fb672c885b5cd5b26b025e3aeecdd7ef0f9811fc9501211df0e17b41293df59dc1b30b59c394f26caf879d211ac53502255fa79faa3a582535cf
+DIST pure_protobuf-2.2.0.tar.gz 16165 BLAKE2B 0845d173bf18453907a767324b6d61a0ef4765870ff81464bb81cdd0afdf65c34222a32119968ec7bf203d40a07fba91c8727fd50ddfbc3c04185300fab9acb2 SHA512 d503ad9c5473a172e3f55a233f2047c78e55d24bd0cfa68293c5343daf892416bbe85720fe43ae6beb9850078bb4a9d793daf1780a6ea5adf004732b457f5df0

diff --git a/dev-python/pure-protobuf/pure-protobuf-2.1.0.ebuild b/dev-python/pure-protobuf/pure-protobuf-2.2.0.ebuild
similarity index 60%
rename from dev-python/pure-protobuf/pure-protobuf-2.1.0.ebuild
rename to dev-python/pure-protobuf/pure-protobuf-2.2.0.ebuild
index a40af5b53..ba4403245 100644
--- a/dev-python/pure-protobuf/pure-protobuf-2.1.0.ebuild
+++ b/dev-python/pure-protobuf/pure-protobuf-2.2.0.ebuild
@@ -3,16 +3,19 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=hatchling
 inherit distutils-r1
 
+MY_PN="${PN/-/_}"
+MY_P="${MY_PN}-${PV}"
 DESCRIPTION="Python implementation of Protocol Buffers data types with dataclasses support"
 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="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
@@ -21,4 +24,8 @@ KEYWORDS="~amd64"
 # ModuleNotFoundError
 RESTRICT="test"
 
+BDEPEND="dev-python/hatch-vcs[${PYTHON_USEDEP}]"
+
 distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}


             reply	other threads:[~2022-12-25  2:19 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-25  2:19 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-06 12:16 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pure-protobuf/ 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-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-03  8:52 Andrew Ammerlaan
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=1671934761.19c4e883b08aa41ab1b5f0a0a7142ddf135665b6.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --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