dev-python/parse_type: drop 0.5.6

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-02-16 00:51:45 -05:00
parent 576ac9c198
commit 9e1a238b7a
3 changed files with 0 additions and 60 deletions

View File

@@ -1,2 +1 @@
DIST parse_type-0.5.6.tar.gz 270970 BLAKE2B 1140a21977dbb3c81f622b45c0d2d3cfedb4a3e8ceeb1f55c185c61bafd17599ec8555e37661316583b9ce0f09d8672fc28ae10c9f1630fd7deecf207381f81a SHA512 6729af4383baceea48cf0bbd73e7e3f580cfbb867965814ba354ea5de6794583782c929557f6f1c7f8bd45703a69b2f890455cfd749690f851f1853562da0c40
DIST parse_type-0.6.0.tar.gz 270864 BLAKE2B 776e58bb7027bf33bd47f266296f29b0e04d94911a91b2962d644671517659839e8a0600b4424076f5f6775a4c9db27774195d8dce908eac61fcf59377dcdbc4 SHA512 ace12b013306d5d330ffecca2f929667169da24b6593f86c13820ff34628fb00ef045c37f5c8b6ddc1094d5a8ed6fb929918871b1d0493ef6719d2bb3d2293de

View File

@@ -1,19 +0,0 @@
2to3: https://github.com/jenisys/parse_type/issues/17
--- a/setup.cfg
+++ b/setup.cfg
@@ -12,5 +12,5 @@
[upload_docs]
-upload-dir = build/docs/html
+upload_dir = build/docs/html
[bdist_wheel]
--- a/setup.py
+++ b/setup.py
@@ -40,6 +40,4 @@
)
-if python_version >= 3.0:
- extra["use_2to3"] = True
# -- NICE-TO-HAVE:

View File

@@ -1,40 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Extension to the parse module"
HOMEPAGE="https://pypi.org/project/parse-type/"
SRC_URI="https://github.com/jenisys/parse_type/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
RDEPEND="
dev-python/parse[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}"/${PN}-0.5.2-setupwarn.patch
)
DOCS=( CHANGES.txt README.rst )
python_prepare_all() {
distutils-r1_python_prepare_all
# disable unnecessary html test report and its pytest-html dependency
sed -i '/^addopts/,/report.xml$/d' pytest.ini || die
}
python_compile() {
2to3 -nw --no-diffs ${PN} tests || die
distutils-r1_python_compile
}