svn commit: r562842 - in head/textproc/py-aeidon: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Jan 26 17:38:30 UTC 2021
Author: sunpoet
Date: Tue Jan 26 17:38:23 2021
New Revision: 562842
URL: https://svnweb.freebsd.org/changeset/ports/562842
Log:
Update to 1.9
- Update WWW
Changes: https://github.com/otsaloma/gaupol/releases
Added:
head/textproc/py-aeidon/files/
head/textproc/py-aeidon/files/patch-setup-aeidon.py (contents, props changed)
Modified:
head/textproc/py-aeidon/Makefile
head/textproc/py-aeidon/distinfo
head/textproc/py-aeidon/pkg-descr
Modified: head/textproc/py-aeidon/Makefile
==============================================================================
--- head/textproc/py-aeidon/Makefile Tue Jan 26 17:38:19 2021 (r562841)
+++ head/textproc/py-aeidon/Makefile Tue Jan 26 17:38:23 2021 (r562842)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= aeidon
-PORTVERSION= 1.7.0
+PORTVERSION= 1.9
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,15 @@ COMMENT= Reading, write and manipulate text-based subt
LICENSE= GPLv3+
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=3.0<4.0:textproc/py-chardet@${PY_FLAVOR}
+#RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=2.2.1:textproc/py-chardet@${PY_FLAVOR}
USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+
+post-patch:
+ @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup-aeidon.py > ${WRKSRC}/setup.py
+# @${CP} ${WRKSRC}/setup-aeidon.py ${WRKSRC}/setup.py
.include <bsd.port.mk>
Modified: head/textproc/py-aeidon/distinfo
==============================================================================
--- head/textproc/py-aeidon/distinfo Tue Jan 26 17:38:19 2021 (r562841)
+++ head/textproc/py-aeidon/distinfo Tue Jan 26 17:38:23 2021 (r562842)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1581440607
-SHA256 (aeidon-1.7.0.tar.gz) = 975d48dce65dee0f906f80d12dc772d2cef861fc3f52d8abfd6d4f18dfa81356
-SIZE (aeidon-1.7.0.tar.gz) = 87237
+TIMESTAMP = 1611665507
+SHA256 (aeidon-1.9.tar.gz) = 20c772ec24c55f35bfec1d0d71c668792d40f6ef2efa52c65e17a0b94dc7240c
+SIZE (aeidon-1.9.tar.gz) = 83422
Added: head/textproc/py-aeidon/files/patch-setup-aeidon.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-aeidon/files/patch-setup-aeidon.py Tue Jan 26 17:38:23 2021 (r562842)
@@ -0,0 +1,41 @@
+--- setup-aeidon.py.orig 2020-12-30 21:35:12 UTC
++++ setup-aeidon.py
+@@ -2,30 +2,30 @@
+
+ """setuptools/wheel/PyPI version of the aeidon package."""
+
+-import shutil
++#import shutil
+
+-from setup import get_aeidon_version
+ from setuptools import find_packages
+ from setuptools import setup
+
+ # Copy data files to the aeidon package, so they can be included.
+-shutil.copytree("data/headers", "aeidon/data/headers")
+-shutil.copytree("data/patterns", "aeidon/data/patterns")
++#shutil.copytree("data/headers", "aeidon/data/headers")
++#shutil.copytree("data/patterns", "aeidon/data/patterns")
+
+ setup(
+ name="aeidon",
+- version=get_aeidon_version(),
++ version=%%PORTVERSION%%,
+ author="Osmo Salomaa",
+ author_email="otsaloma at iki.fi",
+ description="Reading, writing and manipulating text-based subtitle files",
+- long_description=open("README.aeidon.md", "r").read(),
++ long_description=open("README.md", "r").read(),
+ long_description_content_type="text/markdown",
+ url="https://github.com/otsaloma/gaupol",
+ license="GPL",
+ packages=find_packages(exclude=["gaupol*", "*.test"]),
+- package_data={"aeidon": ["data/*/*"]},
++ package_data={"aeidon": ["aeidon/data/*/*"]},
++ include_package_data=True,
+ python_requires=">=3.2.0",
+ install_requires=["chardet>=2.2.1"],
+ )
+
+-shutil.rmtree("aeidon/data")
++#shutil.rmtree("aeidon/data")
Modified: head/textproc/py-aeidon/pkg-descr
==============================================================================
--- head/textproc/py-aeidon/pkg-descr Tue Jan 26 17:38:19 2021 (r562841)
+++ head/textproc/py-aeidon/pkg-descr Tue Jan 26 17:38:23 2021 (r562842)
@@ -6,4 +6,4 @@ Separating a user interface independent general-purpos
from Gaupol has been an afterthought and thus not well designed to be a reusable
component, but on the other hand is proven, working and maintained code.
-WWW: https://github.com/jrabbit/gaupol
+WWW: https://github.com/otsaloma/gaupol
More information about the svn-ports-all
mailing list