mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
dev-python/html2text: Clean old versions up
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST html2text-2014.4.5.tar.gz 30177 SHA256 b6f37556650a32cd625c56f2db3fa2ca2d57a7ff0a4be7a3b9118dd911c8efd6 SHA512 740750f838f0370c6b05bb1538d3de99cfd074acc95923440b14818b934e49df1ad0864bfe1a4fcf0b8fd3c9c402a4b2edaeabe992aa0870acc7ce3b6cd3924a WHIRLPOOL 502c08327cbd98ac08e19ff42b633cb7f08204123aa4a8d15826c4137976367cd7e7073660aa61788301d1817ade02be93a014caeb2ca6c53311df5fcf8adc55
|
||||
DIST html2text-2016.5.29.tar.gz 46879 SHA256 7f59fb29083a7819063b227c24a8dd5e25aeef74b68bf2318a68cc1e3e653add SHA512 58b71fda6ea6fd1a71dec757c91cf342265a2c89ff5c45e752436068419fb6c1faa1ca0d5a6baafaaa60186a85aefdd840989177ce30e55bcda1c6209fc375be WHIRLPOOL 23f8625952dbd3543687976fa2595a0859d18376e716e83848aec29f7f704e40c71142c3d01bdcbdc8f8542b1e03a5ee695da40d4b6b9d436108a10b1ad57456
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
From e4d46b478f78c4464c7b35058154948c928a013b Mon Sep 17 00:00:00 2001
|
||||
From: Arfrever <arfrever@github.com>
|
||||
Date: Thu, 29 May 2014 18:07:21 +0200
|
||||
Subject: [PATCH] Don't install tests (but include them in PyPI package).
|
||||
|
||||
Fixes #9
|
||||
---
|
||||
MANIFEST.in | 1 +
|
||||
setup.py | 1 -
|
||||
2 files changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/MANIFEST.in b/MANIFEST.in
|
||||
index 1845310..6217360 100644
|
||||
--- a/MANIFEST.in
|
||||
+++ b/MANIFEST.in
|
||||
@@ -2,3 +2,4 @@ include COPYING
|
||||
include README.md
|
||||
include ChangeLog.rst
|
||||
include AUTHORS.rst
|
||||
+recursive-include test *.html *.md *.py
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 3b7085d..0b2cf08 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -65,7 +65,6 @@ def run(self):
|
||||
""",
|
||||
license='GNU GPL 3',
|
||||
requires=requires_list,
|
||||
- packages=find_packages(),
|
||||
py_modules=['html2text'],
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
--
|
||||
1.9.3
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
Naming conflict with app-text/html2text, bug 421647.
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index dd3d9bc..cd28b49 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -26,7 +26,7 @@ setup(
|
||||
],
|
||||
entry_points="""
|
||||
[console_scripts]
|
||||
- html2text=html2text:main
|
||||
+ pyhtml2text=html2text:main
|
||||
""",
|
||||
license='GNU GPL 3',
|
||||
packages=find_packages(),
|
||||
@@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Turn HTML into equivalent Markdown-structured text"
|
||||
HOMEPAGE="https://github.com/html2text/html2text
|
||||
https://github.com/Alir3z4/html2text https://pypi.python.org/pypi/html2text"
|
||||
SRC_URI="https://github.com/Alir3z4/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]
|
||||
dev-python/feedparser[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND} )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-rename.patch"
|
||||
"${FILESDIR}/${PN}-noinstall-test.patch" )
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test/test_html2text.py -v || die
|
||||
}
|
||||
Reference in New Issue
Block a user