pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-docx
Module Name: pkgsrc
Committed By: adam
Date: Wed Jan 24 09:12:09 UTC 2024
Modified Files:
pkgsrc/textproc/py-docx: Makefile PLIST distinfo
Log Message:
py-docx: updated to 1.1.0
1.1.0 (2023-11-03)
- Add BlockItemContainer.iter_inner_content()
1.0.1 (2023-10-12)
- Fix: parse_xml() and OxmlElement moved.
- Add Hyperlink.fragment and .url
1.0.0 (2023-10-01)
- Remove Python 2 support. Supported versions are 3.7+
- Fix: Paragraph.text includes hyperlink text
- Add: Hyperlink.address
- Add Hyperlink.contains_page_break
- Add Hyperlink.runs
- Add Hyperlink.text
- Add Paragraph.contains_page_break
- Add Paragraph.hyperlinks
- Add Paragraph.iter_inner_content()
- Add Paragraph.rendered_page_breaks
- Add RenderedPageBreak.following_paragraph_fragment
- Add RenderedPageBreak.preceding_paragraph_fragment
- Add Run.contains_page_break
- Add Run.iter_inner_content()
- Add Section.iter_inner_content()
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/py-docx/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-docx/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/py-docx/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-docx/Makefile
diff -u pkgsrc/textproc/py-docx/Makefile:1.9 pkgsrc/textproc/py-docx/Makefile:1.10
--- pkgsrc/textproc/py-docx/Makefile:1.9 Tue Jul 12 07:17:34 2022
+++ pkgsrc/textproc/py-docx/Makefile Wed Jan 24 09:12:09 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2022/07/12 07:17:34 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2024/01/24 09:12:09 adam Exp $
-DISTNAME= python-docx-0.8.11
+DISTNAME= python-docx-1.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
-PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-docx/}
@@ -11,18 +10,18 @@ HOMEPAGE= https://github.com/python-open
COMMENT= Python library for Microsoft Word (.docx) files
LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-lxml>=2.3.2:../../textproc/py-lxml
-TEST_DEPENDS+= ${PYPKGPREFIX}-behave-[0-9]*:../../devel/py-behave
-TEST_DEPENDS+= ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.0.0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-lxml>=3.1.0:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
+TEST_DEPENDS+= ${PYPKGPREFIX}-behave>=1.2.3:../../devel/py-behave
+TEST_DEPENDS+= ${PYPKGPREFIX}-pyparsing>=2.0.1:../../devel/py-pyparsing
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-
-PYTHON_VERSIONS_INCOMPATIBLE= 27
+TEST_DEPENDS+= ${PYPKGPREFIX}-ruff-[0-9]*:../../devel/py-ruff
USE_LANGUAGES= # none
-do-test:
- cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
+PYTHON_VERSIONS_INCOMPATIBLE= 27
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-docx/PLIST
diff -u pkgsrc/textproc/py-docx/PLIST:1.4 pkgsrc/textproc/py-docx/PLIST:1.5
--- pkgsrc/textproc/py-docx/PLIST:1.4 Mon Jun 7 08:36:00 2021
+++ pkgsrc/textproc/py-docx/PLIST Wed Jan 24 09:12:09 2024
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2021/06/07 08:36:00 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.5 2024/01/24 09:12:09 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/docx/__init__.py
${PYSITELIB}/docx/__init__.pyc
${PYSITELIB}/docx/__init__.pyo
@@ -14,9 +13,6 @@ ${PYSITELIB}/docx/api.pyo
${PYSITELIB}/docx/blkcntnr.py
${PYSITELIB}/docx/blkcntnr.pyc
${PYSITELIB}/docx/blkcntnr.pyo
-${PYSITELIB}/docx/compat.py
-${PYSITELIB}/docx/compat.pyc
-${PYSITELIB}/docx/compat.pyo
${PYSITELIB}/docx/dml/__init__.py
${PYSITELIB}/docx/dml/__init__.pyc
${PYSITELIB}/docx/dml/__init__.pyo
@@ -26,6 +22,9 @@ ${PYSITELIB}/docx/dml/color.pyo
${PYSITELIB}/docx/document.py
${PYSITELIB}/docx/document.pyc
${PYSITELIB}/docx/document.pyo
+${PYSITELIB}/docx/drawing/__init__.py
+${PYSITELIB}/docx/drawing/__init__.pyc
+${PYSITELIB}/docx/drawing/__init__.pyo
${PYSITELIB}/docx/enum/__init__.py
${PYSITELIB}/docx/enum/__init__.pyc
${PYSITELIB}/docx/enum/__init__.pyo
@@ -86,9 +85,6 @@ ${PYSITELIB}/docx/image/tiff.pyo
${PYSITELIB}/docx/opc/__init__.py
${PYSITELIB}/docx/opc/__init__.pyc
${PYSITELIB}/docx/opc/__init__.pyo
-${PYSITELIB}/docx/opc/compat.py
-${PYSITELIB}/docx/opc/compat.pyc
-${PYSITELIB}/docx/opc/compat.pyo
${PYSITELIB}/docx/opc/constants.py
${PYSITELIB}/docx/opc/constants.pyc
${PYSITELIB}/docx/opc/constants.pyo
@@ -143,6 +139,9 @@ ${PYSITELIB}/docx/oxml/coreprops.pyo
${PYSITELIB}/docx/oxml/document.py
${PYSITELIB}/docx/oxml/document.pyc
${PYSITELIB}/docx/oxml/document.pyo
+${PYSITELIB}/docx/oxml/drawing.py
+${PYSITELIB}/docx/oxml/drawing.pyc
+${PYSITELIB}/docx/oxml/drawing.pyo
${PYSITELIB}/docx/oxml/exceptions.py
${PYSITELIB}/docx/oxml/exceptions.pyc
${PYSITELIB}/docx/oxml/exceptions.pyo
@@ -152,6 +151,9 @@ ${PYSITELIB}/docx/oxml/ns.pyo
${PYSITELIB}/docx/oxml/numbering.py
${PYSITELIB}/docx/oxml/numbering.pyc
${PYSITELIB}/docx/oxml/numbering.pyo
+${PYSITELIB}/docx/oxml/parser.py
+${PYSITELIB}/docx/oxml/parser.pyc
+${PYSITELIB}/docx/oxml/parser.pyo
${PYSITELIB}/docx/oxml/section.py
${PYSITELIB}/docx/oxml/section.pyc
${PYSITELIB}/docx/oxml/section.pyo
@@ -179,6 +181,12 @@ ${PYSITELIB}/docx/oxml/text/__init__.pyo
${PYSITELIB}/docx/oxml/text/font.py
${PYSITELIB}/docx/oxml/text/font.pyc
${PYSITELIB}/docx/oxml/text/font.pyo
+${PYSITELIB}/docx/oxml/text/hyperlink.py
+${PYSITELIB}/docx/oxml/text/hyperlink.pyc
+${PYSITELIB}/docx/oxml/text/hyperlink.pyo
+${PYSITELIB}/docx/oxml/text/pagebreak.py
+${PYSITELIB}/docx/oxml/text/pagebreak.pyc
+${PYSITELIB}/docx/oxml/text/pagebreak.pyo
${PYSITELIB}/docx/oxml/text/paragraph.py
${PYSITELIB}/docx/oxml/text/paragraph.pyc
${PYSITELIB}/docx/oxml/text/paragraph.pyo
@@ -245,6 +253,23 @@ ${PYSITELIB}/docx/styles/styles.pyo
${PYSITELIB}/docx/table.py
${PYSITELIB}/docx/table.pyc
${PYSITELIB}/docx/table.pyo
+${PYSITELIB}/docx/templates/default-docx-template/[Content_Types].xml
+${PYSITELIB}/docx/templates/default-docx-template/_rels/.rels
+${PYSITELIB}/docx/templates/default-docx-template/customXml/_rels/item1.xml.rels
+${PYSITELIB}/docx/templates/default-docx-template/customXml/item1.xml
+${PYSITELIB}/docx/templates/default-docx-template/customXml/itemProps1.xml
+${PYSITELIB}/docx/templates/default-docx-template/docProps/app.xml
+${PYSITELIB}/docx/templates/default-docx-template/docProps/core.xml
+${PYSITELIB}/docx/templates/default-docx-template/docProps/thumbnail.jpeg
+${PYSITELIB}/docx/templates/default-docx-template/word/_rels/document.xml.rels
+${PYSITELIB}/docx/templates/default-docx-template/word/document.xml
+${PYSITELIB}/docx/templates/default-docx-template/word/fontTable.xml
+${PYSITELIB}/docx/templates/default-docx-template/word/numbering.xml
+${PYSITELIB}/docx/templates/default-docx-template/word/settings.xml
+${PYSITELIB}/docx/templates/default-docx-template/word/styles.xml
+${PYSITELIB}/docx/templates/default-docx-template/word/stylesWithEffects.xml
+${PYSITELIB}/docx/templates/default-docx-template/word/theme/theme1.xml
+${PYSITELIB}/docx/templates/default-docx-template/word/webSettings.xml
${PYSITELIB}/docx/templates/default-footer.xml
${PYSITELIB}/docx/templates/default-header.xml
${PYSITELIB}/docx/templates/default-settings.xml
@@ -256,6 +281,12 @@ ${PYSITELIB}/docx/text/__init__.pyo
${PYSITELIB}/docx/text/font.py
${PYSITELIB}/docx/text/font.pyc
${PYSITELIB}/docx/text/font.pyo
+${PYSITELIB}/docx/text/hyperlink.py
+${PYSITELIB}/docx/text/hyperlink.pyc
+${PYSITELIB}/docx/text/hyperlink.pyo
+${PYSITELIB}/docx/text/pagebreak.py
+${PYSITELIB}/docx/text/pagebreak.pyc
+${PYSITELIB}/docx/text/pagebreak.pyo
${PYSITELIB}/docx/text/paragraph.py
${PYSITELIB}/docx/text/paragraph.pyc
${PYSITELIB}/docx/text/paragraph.pyo
@@ -268,3 +299,6 @@ ${PYSITELIB}/docx/text/run.pyo
${PYSITELIB}/docx/text/tabstops.py
${PYSITELIB}/docx/text/tabstops.pyc
${PYSITELIB}/docx/text/tabstops.pyo
+${PYSITELIB}/docx/types.py
+${PYSITELIB}/docx/types.pyc
+${PYSITELIB}/docx/types.pyo
Index: pkgsrc/textproc/py-docx/distinfo
diff -u pkgsrc/textproc/py-docx/distinfo:1.7 pkgsrc/textproc/py-docx/distinfo:1.8
--- pkgsrc/textproc/py-docx/distinfo:1.7 Tue Oct 26 11:23:02 2021
+++ pkgsrc/textproc/py-docx/distinfo Wed Jan 24 09:12:09 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:23:02 nia Exp $
+$NetBSD: distinfo,v 1.8 2024/01/24 09:12:09 adam Exp $
-BLAKE2s (python-docx-0.8.11.tar.gz) = 1544d30f113e0cb84a8280491a71b5c8415f02d2010357beca790b891ae7671d
-SHA512 (python-docx-0.8.11.tar.gz) = 6e32c75aa28da779f548dfe6902f95299aaee1936d7ce463742b2d1c4374148e947a4fcc7efd785696b2bcf4d7faaa4f769e88c91e8ec7c6e048d6b1fe67d61e
-Size (python-docx-0.8.11.tar.gz) = 5561613 bytes
+BLAKE2s (python-docx-1.1.0.tar.gz) = 66706d58bbe1acd7a9dc6b688e604c890a6f239206641b25bcf7e1c96c26198b
+SHA512 (python-docx-1.1.0.tar.gz) = ad654d68b3f0825bf9483c20092eb559016c3481e75e098d62e3b3b703697409abc244a38854fd0cee8919d852b068d0f88af12478b589885cbd0e80972653d3
+Size (python-docx-1.1.0.tar.gz) = 5650988 bytes
Home |
Main Index |
Thread Index |
Old Index