summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2015-07-05 18:42:09 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2015-07-05 18:42:09 +0000
commit52027a63663c4043f457363b9dd4ccf5c320d5b9 (patch)
tree9f9a260373c81742aa01af8774091e74ed207cc3 /textproc
parente1eccfcb9401e8fa743acb53cc8273debc150029 (diff)
downloadfreebsd-ports-52027a63663c4043f457363b9dd4ccf5c320d5b9.zip
textproc/py-stripogram: update to 1.5, deprecate
- update to 1.5 - limit python to 2.x (fails to build with 3.x) - switch to PyPi - deprecate and set expiration date to 2015-08-05. User should use www/py-html5lib or www/py-beautifulsoup instead. Here is what author writes about: Unless you have some historical reason for using this package, I’d advise against it! [1] [1] https://pypi.python.org/pypi/stripogram
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-stripogram/Makefile13
-rw-r--r--textproc/py-stripogram/distinfo4
-rw-r--r--textproc/py-stripogram/files/patch-setup.py11
3 files changed, 8 insertions, 20 deletions
diff --git a/textproc/py-stripogram/Makefile b/textproc/py-stripogram/Makefile
index e2fc37d4c16b..dc0699190342 100644
--- a/textproc/py-stripogram/Makefile
+++ b/textproc/py-stripogram/Makefile
@@ -2,19 +2,18 @@
# $FreeBSD$
PORTNAME= stripogram
-PORTVERSION= 1.4
+PORTVERSION= 1.5
CATEGORIES= textproc python
-MASTER_SITES= SF/squishdot/strip-o-gram/${PORTVERSION}
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= stripogram-1-4
-EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Converting HTML to Plain Text and stripping specified tags from HTML
-WRKSRC= ${WRKDIR}/stripogram
+DEPRECATED= Discontinued, author discourages to use it
+EXPIRATION_DATE= 2015-08-05
-USES= python
-USE_PYTHON= distutils autoplist
+USES= python:2
+USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/textproc/py-stripogram/distinfo b/textproc/py-stripogram/distinfo
index db9b43ba086c..166849cb81b5 100644
--- a/textproc/py-stripogram/distinfo
+++ b/textproc/py-stripogram/distinfo
@@ -1,2 +1,2 @@
-SHA256 (stripogram-1-4.tgz) = 85549f4526a3e8d211219f61317bd37433a6ee31c6659cbd1ea92f52fa0c96d4
-SIZE (stripogram-1-4.tgz) = 10767
+SHA256 (stripogram-1.5.tar.gz) = 8666a1884b9c356cb69bd307d8e728b3b5a7dbc777c0daa3df99f7491eb2007f
+SIZE (stripogram-1.5.tar.gz) = 12195
diff --git a/textproc/py-stripogram/files/patch-setup.py b/textproc/py-stripogram/files/patch-setup.py
deleted file mode 100644
index 03d92938aa83..000000000000
--- a/textproc/py-stripogram/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig 2008-01-10 16:30:07.000000000 +0300
-+++ setup.py 2008-01-10 16:30:23.000000000 +0300
-@@ -1,7 +1,7 @@
- from distutils.core import setup
-
- setup(name="stripogram",
-- version="1.2",
-+ version="1.4",
- description="Strip-o-Gram HTML Conversion Library",
- author="Chris Withers",
- author_email="chrisw@nipltd.com",