1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

Update to 1.9

- Update WWW

Changes:	https://github.com/otsaloma/gaupol/releases
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2021-01-26 17:38:23 +00:00
parent 253eecec79
commit 821f15d578
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562842
4 changed files with 51 additions and 6 deletions

View File

@ -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 subtitle files
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>

View File

@ -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

View File

@ -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@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")

View File

@ -6,4 +6,4 @@ Separating a user interface independent general-purpose subtitle editing package
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