summaryrefslogtreecommitdiff
path: root/dev-python/irctokens
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-07-28 06:15:18 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-07-28 06:15:18 +0000
commit6bfd1910c00be298c78555e5f7d3a676c3260360 (patch)
treebeeae985c2d434ad97b5abbeed4010ba8c29ecdb /dev-python/irctokens
parent84c054b856502bc630ff41d7fa43a25ad16014f9 (diff)
downloadbaldeagleos-repo-6bfd1910c00be298c78555e5f7d3a676c3260360.tar.gz
baldeagleos-repo-6bfd1910c00be298c78555e5f7d3a676c3260360.tar.xz
baldeagleos-repo-6bfd1910c00be298c78555e5f7d3a676c3260360.zip
Adding metadata
Diffstat (limited to 'dev-python/irctokens')
-rw-r--r--dev-python/irctokens/Manifest1
-rw-r--r--dev-python/irctokens/files/irctokens-2.0.2-exclude-tests.patch11
-rw-r--r--dev-python/irctokens/irctokens-2.0.2.ebuild30
-rw-r--r--dev-python/irctokens/metadata.xml15
4 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/irctokens/Manifest b/dev-python/irctokens/Manifest
new file mode 100644
index 000000000000..b9f9db553e38
--- /dev/null
+++ b/dev-python/irctokens/Manifest
@@ -0,0 +1 @@
+DIST irctokens-2.0.2.gh.tar.gz 10409 BLAKE2B ce52fdf7aec203c962429ff7f2cbbab8a1173f5813abf410df7487cbe270483a96e91bab2e7f7d9aeec7c93a8f15b9b0e054d18d8db7ef1c22404eaeb70c7530 SHA512 09be87e1c3f3d34383fc59e7ef6ac955de2fd09e0a888c685475b7fb93749fa019c383ae24e4e60c697e08d6ade635666feb96db5b6b5f35fb3d75d6d60cd571
diff --git a/dev-python/irctokens/files/irctokens-2.0.2-exclude-tests.patch b/dev-python/irctokens/files/irctokens-2.0.2-exclude-tests.patch
new file mode 100644
index 000000000000..be93c6d0a03a
--- /dev/null
+++ b/dev-python/irctokens/files/irctokens-2.0.2-exclude-tests.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,7 @@ setuptools.setup(
+ long_description=long_description,
+ long_description_content_type="text/markdown",
+ url="https://github.com/jesopo/irctokens",
+- packages=setuptools.find_packages(),
++ packages=setuptools.find_packages(exclude=["test", "test.*"]),
+ package_data={"irctokens": ["py.typed"]},
+ classifiers=[
+ "Programming Language :: Python :: 3",
diff --git a/dev-python/irctokens/irctokens-2.0.2.ebuild b/dev-python/irctokens/irctokens-2.0.2.ebuild
new file mode 100644
index 000000000000..97591990b06f
--- /dev/null
+++ b/dev-python/irctokens/irctokens-2.0.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{7,8,9,10,11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="RFC1459 and IRCv3 protocol tokeniser library"
+HOMEPAGE="
+ https://github.com/jesopo/irctokens
+ https://pypi.org/project/irctokens/
+"
+# sdist is broken (missing VERSION)
+SRC_URI="
+ https://github.com/jesopo/irctokens/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.0.2-exclude-tests.patch
+)
+
+distutils_enable_tests unittest
diff --git a/dev-python/irctokens/metadata.xml b/dev-python/irctokens/metadata.xml
new file mode 100644
index 000000000000..8051c7f9a166
--- /dev/null
+++ b/dev-python/irctokens/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+
+ <origin>gentoo-staging</origin>
+ <stabilize-allarches/>
+</pkgmetadata> \ No newline at end of file