summaryrefslogtreecommitdiff
path: root/dev-python/python-ipware
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-ipware')
-rw-r--r--dev-python/python-ipware/Manifest5
-rw-r--r--dev-python/python-ipware/metadata.xml12
-rw-r--r--dev-python/python-ipware/python-ipware-2.0.0.ebuild21
-rw-r--r--dev-python/python-ipware/python-ipware-2.0.4.ebuild20
-rw-r--r--dev-python/python-ipware/python-ipware-3.0.0.ebuild19
5 files changed, 42 insertions, 35 deletions
diff --git a/dev-python/python-ipware/Manifest b/dev-python/python-ipware/Manifest
index 869eb2c222a6..6ed260646200 100644
--- a/dev-python/python-ipware/Manifest
+++ b/dev-python/python-ipware/Manifest
@@ -1,2 +1,5 @@
-DIST python-ipware-2.0.4.gh.tar.gz 13043 BLAKE2B 6ee70d211fef4a772e95e5b6e61ae9ab113f210184e401e3c2c4962a149349afdb54c41e1142533fce14b6700a0edd76a2140b101f2c148564ad692ac58c8fad SHA512 bffa9da4693ecc0f30d51d01ce9a6e50f9b22cb8ac429038e146343c156bfb53742959c1c3aa3e395ad8cfb966d3ba4e9734d6a2304beb723e8cb1177d3a705e
+DIST python-ipware-2.0.0.gh.tar.gz 12677 BLAKE2B 67806b800d92f0ff0c236cb8d4be0cf22cb61c86b187d2e51ae8cf84daa50a21038be5d30ce0981b03a75fe2910978e4ad903a0690cad630e0e2cad8eeca6d03 SHA512 acc7a8dd0312f8ea37e6b528248a322b5bc7194851a5ab0b4d0772a512b91b0bd37cc7cfbb3b255bb09b2ab4e5974c59b2f99156a2660b5de061eace9e96fdbe
DIST python-ipware-3.0.0.gh.tar.gz 13711 BLAKE2B c549afae3e0dd849eebcd0ee718c542258807adcf20d804c2c57580f6bc452d296ea012e988890ae0109296c02e8053f4eaf5df0e4c49d9ca6e473cc705a4a1a SHA512 a901b0e09f1a0d0b53725d41272e24c7cc3a0ea3250e7210de42fb233b196b8ff28153d0657a13031e5ac9618958005574230969f97a109a7bb91409d42228d5
+EBUILD python-ipware-2.0.0.ebuild 520 BLAKE2B 589fe9956488e2741bc4144fdb3f42ec0085f76654c76fc965220d2a67219babfcb4a0c62d7e16cc5c36f27149d5e9e94a078d6521211177ce7ad49bff47012f SHA512 b882077145e8e283a7dced5a0659b11934ea93a8383c52e5770eed750c37d77e448c41b9543b9e5af2af8e655c7f668aa541c12c40ea2c36410634a2100b7b2f
+EBUILD python-ipware-3.0.0.ebuild 520 BLAKE2B a3b52f0082e09cdb8ed14a932a6c9361234366be3e8142fd0088077480a00bcd3917b17aa5919554af97d0fd9ce256964dab313fb84a93f9eafeca66eed24ee6 SHA512 f17d992e04d3cefed9ef23b6af08fe1fba3fef9340ce479929b7e7dcb55ba676408806a6bfa6ec78546b249112a7e8ac097a6a1b5429ea94a9d0cddb1b648280
+MISC metadata.xml 458 BLAKE2B c2c36b371c90f16dfb127dcdaedc5a9a801b1d88d6fff107152209cc17be96799ed634e1083f307995c4428ceabded7d937da931fe0cd3bd05b0af35aac2af99 SHA512 8a760444dc70180d08fc6912930a2cf7a9efc95c9cee5bd1d54dd438f598815762eb83fd1e84ab81e371d1554b164e269be10e7ae094036a9f99bfbb1a494b4a
diff --git a/dev-python/python-ipware/metadata.xml b/dev-python/python-ipware/metadata.xml
index 36acccda7221..41b826619df3 100644
--- a/dev-python/python-ipware/metadata.xml
+++ b/dev-python/python-ipware/metadata.xml
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
+ <maintainer type="person">
+ <email>marcin.deranek@slonko.net</email>
+ <name>Marcin Deranek</name>
</maintainer>
-
- <origin>ports</origin>
+ <upstream>
+ <bugs-to>https://github.com/un33k/python-ipware/issues</bugs-to>
+ </upstream>
+ <origin>slonko-overlay</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/python-ipware/python-ipware-2.0.0.ebuild b/dev-python/python-ipware/python-ipware-2.0.0.ebuild
new file mode 100644
index 000000000000..2e5af99635e0
--- /dev/null
+++ b/dev-python/python-ipware/python-ipware-2.0.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..14} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="A Python package to retrieve user's IP address"
+HOMEPAGE="
+ https://github.com/un33k/python-ipware
+ https://pypi.org/project/python-ipware/
+"
+SRC_URI="https://github.com/un33k/python-ipware/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests unittest
diff --git a/dev-python/python-ipware/python-ipware-2.0.4.ebuild b/dev-python/python-ipware/python-ipware-2.0.4.ebuild
deleted file mode 100644
index 8e70a17b4a92..000000000000
--- a/dev-python/python-ipware/python-ipware-2.0.4.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 2023-2024 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..14} )
-
-inherit distutils-r1
-
-DESCRIPTION="A Django application to retrieve user's IP address"
-HOMEPAGE="https://github.com/un33k/python-ipware https://pypi.org/project/python-ipware/"
-SRC_URI="https://github.com/un33k/python-ipware/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-python_test() {
- "${EPYTHON}" tests/manage.py test -v2 myapp || die "Tests failed with ${EPYTHON}"
-}
diff --git a/dev-python/python-ipware/python-ipware-3.0.0.ebuild b/dev-python/python-ipware/python-ipware-3.0.0.ebuild
index 8e70a17b4a92..2e5af99635e0 100644
--- a/dev-python/python-ipware/python-ipware-3.0.0.ebuild
+++ b/dev-python/python-ipware/python-ipware-3.0.0.ebuild
@@ -1,20 +1,21 @@
-# Copyright 2023-2024 Liguros Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+
EAPI=8
-DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..14} )
-
+DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
-DESCRIPTION="A Django application to retrieve user's IP address"
-HOMEPAGE="https://github.com/un33k/python-ipware https://pypi.org/project/python-ipware/"
-SRC_URI="https://github.com/un33k/python-ipware/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+DESCRIPTION="A Python package to retrieve user's IP address"
+HOMEPAGE="
+ https://github.com/un33k/python-ipware
+ https://pypi.org/project/python-ipware/
+"
+SRC_URI="https://github.com/un33k/python-ipware/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-python_test() {
- "${EPYTHON}" tests/manage.py test -v2 myapp || die "Tests failed with ${EPYTHON}"
-}
+distutils_enable_tests unittest