dev-python/irctokens: new package, add 2.0.2

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2023-07-28 02:47:14 +01:00
parent 1851a3dad2
commit e126d70a7f
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
4 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST irctokens-2.0.2.gh.tar.gz 10409 BLAKE2B ce52fdf7aec203c962429ff7f2cbbab8a1173f5813abf410df7487cbe270483a96e91bab2e7f7d9aeec7c93a8f15b9b0e054d18d8db7ef1c22404eaeb70c7530 SHA512 09be87e1c3f3d34383fc59e7ef6ac955de2fd09e0a888c685475b7fb93749fa019c383ae24e4e60c697e08d6ade635666feb96db5b6b5f35fb3d75d6d60cd571

View File

@ -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",

View File

@ -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_{10..12} )
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

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/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>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">irctokens</remote-id>
<remote-id type="github">jesopo/irctokens</remote-id>
</upstream>
</pkgmetadata>