public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rfc3986-validator/
Date: Tue, 18 Jan 2022 22:44:39 +0000 (UTC)	[thread overview]
Message-ID: <1642545875.bc7676c74bce1ebc7425829d34f450b9b230dd0b.mgorny@gentoo> (raw)

commit:     bc7676c74bce1ebc7425829d34f450b9b230dd0b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 18 22:41:33 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 18 22:44:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc7676c7

dev-python/rfc3986-validator: Switch to PEP517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../rfc3986-validator-0.1.1-r1.ebuild              | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild
new file mode 100644
index 000000000000..fa5c21cd7630
--- /dev/null
+++ b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+# 0.1.1 isn't tagged on GitHub
+COMMIT_HASH="ee3dcca0df300e0584e129a4ab81828be002684b"
+MY_PN="${PN//-/_}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure python RFC3986 validator"
+HOMEPAGE="https://pypi.org/project/rfc3986-validator/ https://github.com/naimetti/rfc3986-validator"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="dev-python/rfc3987[${PYTHON_USEDEP}]"
+BDEPEND="test? ( dev-python/hypothesis[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	# remove dep on pytest-runner
+	sed -i -r "s:('|\")pytest-runner('|\")(,|)::" setup.py || die
+	distutils-r1_python_prepare_all
+}


             reply	other threads:[~2022-01-18 22:44 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-18 22:44 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-12 16:30 [gentoo-commits] repo/gentoo:master commit in: dev-python/rfc3986-validator/ Michał Górny
2024-05-12 16:30 Michał Górny
2023-07-08 10:47 Benda XU
2023-05-26 15:14 Sam James
2023-03-17 17:55 Michał Górny
2022-05-11 14:32 Michał Górny
2022-02-27 18:58 Michał Górny
2022-02-27  9:18 Michał Górny
2022-01-18 22:44 Michał Górny
2022-01-17 13:02 James Le Cuirot
2021-11-18  5:36 Sam James
2021-06-04 15:24 Michał Górny
2021-05-24 21:58 Joshua Kinard
2021-03-18  8:44 Michał Górny
2020-12-13  1:06 Sam James
2020-08-02  9:33 Michał Górny
2020-06-09 19:46 Michał Górny
2020-06-06 19:31 Mart Raudsepp
2020-06-05 16:10 Sergei Trofimovich
2020-06-04  6:35 Agostino Sarubbo
2020-06-04  6:23 Agostino Sarubbo
2020-06-03 18:43 Agostino Sarubbo
2020-06-03 15:12 Agostino Sarubbo
2020-06-01 20:51 Sergei Trofimovich
2020-06-01 17:02 Sergei Trofimovich
2020-04-30  7:16 Sergei Trofimovich
2020-04-28 19:23 Mart Raudsepp
2020-04-28 15:41 Mikle Kolyada
2020-04-28  7:00 Michał Górny
2020-03-29 21:21 Sergei Trofimovich
2020-03-28 23:40 Sergei Trofimovich
2020-03-17  2:09 Matt Turner
2019-12-10 19:25 Sergei Trofimovich
2019-12-04 19:44 Sergei Trofimovich
2019-11-23 22:41 Patrick McLean

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=1642545875.bc7676c74bce1ebc7425829d34f450b9b230dd0b.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --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