commit:     a4522ab998787068b1c8e59d017688ac37b6b1a8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 30 12:50:54 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 30 13:09:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4522ab9

dev-python/strict-rfc3339: Switch to PEP 517 build

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

 .../strict-rfc3339/strict-rfc3339-0.7-r2.ebuild     | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild 
b/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild
new file mode 100644
index 000000000000..3dc31a1023ec
--- /dev/null
+++ b/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild
@@ -0,0 +1,21 @@
+# 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
+
+MY_P="${PN}-version-${PV}"
+DESCRIPTION="Strict, simple, lightweight RFC3339 functions"
+HOMEPAGE="https://pypi.org/project/strict-rfc3339/ 
https://github.com/danielrichman/strict-rfc3339";
+SRC_URI="https://github.com/danielrichman/${PN}/archive/version-${PV}.tar.gz 
-> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+distutils_enable_tests unittest

Reply via email to