Commit e01138b1 authored by sunpoet's avatar sunpoet
Browse files

Update to 1.9

- Update WWW

Changes:	https://github.com/otsaloma/gaupol/releases
parent ec525f05
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= aeidon PORTNAME= aeidon
PORTVERSION= 1.7.0 PORTVERSION= 1.9
CATEGORIES= textproc python CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
...@@ -12,11 +12,15 @@ COMMENT= Reading, write and manipulate text-based subtitle files ...@@ -12,11 +12,15 @@ COMMENT= Reading, write and manipulate text-based subtitle files
LICENSE= GPLv3+ 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+ USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes 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> .include <bsd.port.mk>
TIMESTAMP = 1581440607 TIMESTAMP = 1611665507
SHA256 (aeidon-1.7.0.tar.gz) = 975d48dce65dee0f906f80d12dc772d2cef861fc3f52d8abfd6d4f18dfa81356 SHA256 (aeidon-1.9.tar.gz) = 20c772ec24c55f35bfec1d0d71c668792d40f6ef2efa52c65e17a0b94dc7240c
SIZE (aeidon-1.7.0.tar.gz) = 87237 SIZE (aeidon-1.9.tar.gz) = 83422
--- 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")
...@@ -6,4 +6,4 @@ Separating a user interface independent general-purpose subtitle editing package ...@@ -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 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. component, but on the other hand is proven, working and maintained code.
WWW: https://github.com/jrabbit/gaupol WWW: https://github.com/otsaloma/gaupol
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment