aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2025-06-02 16:57:56 +0000
committerRene Ladan <rene@FreeBSD.org>2025-06-02 16:57:56 +0000
commit03d82f0f260730a7f95c49b10fdb8a4ac42bc761 (patch)
treef5dc370d310ea0c17de1800b45dbfab89ee7ddee
parente09bc8da54a730e047b75d8378a2401ffc7e29b4 (diff)
textproc/py-textract: Remove expired port
2025-06-01 textproc/py-textract: Depends on expiring textproc/py-extract-msg
-rw-r--r--MOVED1
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-textract/Makefile79
-rw-r--r--textproc/py-textract/distinfo3
-rw-r--r--textproc/py-textract/pkg-descr3
5 files changed, 1 insertions, 86 deletions
diff --git a/MOVED b/MOVED
index 8eff4fb7793e..b3e090888d64 100644
--- a/MOVED
+++ b/MOVED
@@ -4455,3 +4455,4 @@ www/py-dj50-django-htmx|www/py-dj51-django-htmx|2025-06-01|Has expired: Extended
www/py-django50|www/py-django51|2025-06-01|Has expired: Extended support of Django 5.0 ends April 2024, upgrade to a newer version of Django. See https://www.djangoproject.com/download/
devel/linux-c7-libgfortran|devel/linux-c7-devtools|2025-06-02|Merged into devel/linux-c7-devtools
devel/linux-rl9-libgfortran|devel/linux-rl9-devtools|2025-06-02|Merged into devel/linux-rl9-devtools
+textproc/py-textract||2025-06-02|Has expired: Depends on expiring textproc/py-extract-msg
diff --git a/textproc/Makefile b/textproc/Makefile
index abeb22ec43a2..c18aa75a2c3f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1652,7 +1652,6 @@
SUBDIR += py-text2digits
SUBDIR += py-textdistance
SUBDIR += py-textfsm
- SUBDIR += py-textract
SUBDIR += py-texttable
SUBDIR += py-textual
SUBDIR += py-textual-autocomplete
diff --git a/textproc/py-textract/Makefile b/textproc/py-textract/Makefile
deleted file mode 100644
index 148e74b0c2cf..000000000000
--- a/textproc/py-textract/Makefile
+++ /dev/null
@@ -1,79 +0,0 @@
-PORTNAME= textract
-PORTVERSION= 1.6.5
-PORTREVISION= 10
-CATEGORIES= textproc python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= DtxdF@disroot.org
-COMMENT= Extract text from any document
-WWW= https://github.com/deanmalmgren/textract
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argcomplete>=1.10.0:devel/py-argcomplete@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}chardet>=3:textproc/py-chardet@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}six>1.12.0:devel/py-six@${PY_FLAVOR}
-
-USES= python
-USE_PYTHON= autoplist distutils
-
-NO_ARCH= yes
-
-OPTIONS_DEFINE= ANTIWORD BEAUTIFULSOUP DOCX2TXT MSG LIBXML2 \
- LIBXSLT PPTX PS SPREADSHEET UNRTF
-OPTIONS_DEFAULT=ANTIWORD BEAUTIFULSOUP DOCX2TXT FFMPEG FLAC JPEG_TURBO \
- LAME LIBXML2 LIBXSLT MSG PDFTOTEXT PPTX PS SOX \
- SPEECH_RECOGNITION SPREADSHEET TESSERACT UNRTF
-OPTIONS_GROUP= AUDIO OCR PDF RTF
-OPTIONS_GROUP_AUDIO= FFMPEG FLAC LAME POCKETSPHINX SOX SPEECH_RECOGNITION
-OPTIONS_GROUP_OCR= JPEG_TURBO TESSERACT
-OPTIONS_GROUP_PDF= PDFMINER PDFTOTEXT
-
-ANTIWORD_DESC= DOC document support
-BEAUTIFULSOUP_DESC= HTML parsing library
-DOCX2TXT_DESC= DOCX document support
-JPEG_TURBO_DESC= SIMD-accelerated JPEG codec
-LIBXML2_DESC= Python interface for XML parser library
-LIBXSLT_DESC= XML stylesheet transformation library
-MSG_DESC= MS Outlook MSG file format support
-PDFMINER_DESC= PDF parser and analyzer
-PDFTOTEXT_DESC= Extract text from a PDF document
-POCKETSPHINX_DESC= Interface to CMU Sphinxbase and Pocketsphinx
-PPTX_DESC= MS PowerPoint PPTX presentations support
-SOX_DESC= Command-line audio processing tool
-SPEECH_RECOGNITION_DESC= Python library for performing speech recognition
-SPREADSHEET_DESC= XLS and XLSX spreadsheet support
-TESSERACT_DESC= Commercial quality open source OCR engine
-UNRTF_DESC= RTF document support
-
-ANTIWORD_RUN_DEPENDS= antiword>0:textproc/antiword
-BEAUTIFULSOUP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.8.0:www/py-beautifulsoup@${PY_FLAVOR}
-DOCX2TXT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docx2txt>=0.8:textproc/py-docx2txt@${PY_FLAVOR}
-FFMPEG_RUN_DEPENDS= ffmpeg>0:multimedia/ffmpeg
-FLAC_RUN_DEPENDS= flac>0:audio/flac
-JPEG_TURBO_RUN_DEPENDS= jpeg-turbo>0:graphics/jpeg-turbo
-LAME_RUN_DEPENDS= lame>0:audio/lame
-LIBXML2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libxml2>0:textproc/py-libxml2@${PY_FLAVOR}
-LIBXSLT_RUN_DEPENDS= libxslt>=1.1.15:textproc/libxslt
-MSG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}extract-msg>=0.29:textproc/py-extract-msg@${PY_FLAVOR}
-PDFMINER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdfminer.six>=20191110:textproc/py-pdfminer.six@${PY_FLAVOR}
-PDFTOTEXT_RUN_DEPENDS= poppler-utils>0:graphics/poppler-utils
-POCKETSPHINX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pocketsphinx>0:audio/py-pocketsphinx@${PY_FLAVOR}
-PPTX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-pptx>=0.6.18:textproc/py-python-pptx@${PY_FLAVOR}
-PS_RUN_DEPENDS= pstotext>0:print/pstotext
-SOX_RUN_DEPENDS= sox>0:audio/sox
-SPEECH_RECOGNITION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}speechrecognition>=3.8.1:audio/py-speechrecognition@${PY_FLAVOR}
-SPREADSHEET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlrd>=1.2.0:textproc/py-xlrd@${PY_FLAVOR}
-TESSERACT_RUN_DEPENDS= tesseract>0:graphics/tesseract
-UNRTF_RUN_DEPENDS= unrtf>0:textproc/unrtf
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMSG}
-DEPRECATED= Depends on expiring textproc/py-extract-msg
-EXPIRATION_DATE=2025-06-01
-.endif
-
-.include <bsd.port.mk>
diff --git a/textproc/py-textract/distinfo b/textproc/py-textract/distinfo
deleted file mode 100644
index 14f25b8e65e4..000000000000
--- a/textproc/py-textract/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1659835075
-SHA256 (textract-1.6.5.tar.gz) = 68f0f09056885821e6c43d8538987518daa94057c306679f2857cc5ee66ad850
-SIZE (textract-1.6.5.tar.gz) = 17871
diff --git a/textproc/py-textract/pkg-descr b/textproc/py-textract/pkg-descr
deleted file mode 100644
index 7d4986c9d8cb..000000000000
--- a/textproc/py-textract/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-textract provides a single interface for extracting content embedded
-from Word documents, PowerPoint presentations, PDFs and much more,
-which can be used for further textual analysis and visualization.