summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/looseversion/Manifest1
-rw-r--r--dev-python/looseversion/looseversion-1.1.2.ebuild24
-rw-r--r--dev-python/looseversion/metadata.xml11
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/looseversion/Manifest b/dev-python/looseversion/Manifest
new file mode 100644
index 000000000000..7fb61862231d
--- /dev/null
+++ b/dev-python/looseversion/Manifest
@@ -0,0 +1 @@
+DIST looseversion-1.1.2.tar.gz 8393 BLAKE2B 4ed8bdf5b7a1e249a9a889d60e5604ff5027e924a10a686b7def882eccb40450564721ceee7adc3860c6bd85188c5fb619ad461fa9fd4f31c8ca09e1d49331b9 SHA512 476cc7b57a9eebdc1c58506f4c394db9a338b4b9689fdfa171aa736fabe62282438d50923a834db104603f09eea44197623e89adcda3121fa522a3fa40585a25
diff --git a/dev-python/looseversion/looseversion-1.1.2.ebuild b/dev-python/looseversion/looseversion-1.1.2.ebuild
new file mode 100644
index 000000000000..064ff7ee6400
--- /dev/null
+++ b/dev-python/looseversion/looseversion-1.1.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+inherit pypi distutils-r1
+
+DESCRIPTION="A backwards/forwards-compatible fork of distutils.version.LooseVersion"
+HOMEPAGE="
+ https://pypi.org/project/looseversion/
+ https://github.com/effigies/looseversion
+"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests pytest
+
+python_test() {
+ epytest tests.py
+}
diff --git a/dev-python/looseversion/metadata.xml b/dev-python/looseversion/metadata.xml
new file mode 100644
index 000000000000..56ad4b03476e
--- /dev/null
+++ b/dev-python/looseversion/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">looseversion</remote-id>
+ </upstream>
+</pkgmetadata>