update to urlwatch-2.18
This commit is contained in:
parent
80f56b17f2
commit
bd5a8dcdc3
@ -1,10 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.26 2020/02/29 16:03:38 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.27 2020/05/14 11:49:33 sthen Exp $
|
||||
|
||||
COMMENT= monitor webpages for updates
|
||||
|
||||
MODPY_EGG_VERSION= 2.17
|
||||
MODPY_EGG_VERSION= 2.18
|
||||
DISTNAME= urlwatch-${MODPY_EGG_VERSION}
|
||||
REVISION= 1
|
||||
|
||||
CATEGORIES= www
|
||||
|
||||
@ -20,6 +19,7 @@ MODULES= lang/python
|
||||
MODPY_PI= Yes
|
||||
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
|
||||
MODPY_SETUPTOOLS= Yes
|
||||
MODPY_PYTEST= Yes
|
||||
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= converters/py-html2text${MODPY_FLAVOR} \
|
||||
@ -40,7 +40,4 @@ post-install:
|
||||
rm ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/urlwatch/config.py.orig
|
||||
rmdir ${PREFIX}/share/{man,urlwatch}
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC}; nosetests${MODPY_BIN_SUFFIX} -v
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (urlwatch-2.17.tar.gz) = CPUcf/50icC+emxUhV4HTaZRMXFOS2xiLkz7EH736ng=
|
||||
SIZE (urlwatch-2.17.tar.gz) = 44178
|
||||
SHA256 (urlwatch-2.18.tar.gz) = tVbRF2aD8LcFjXvTTN39rbyGq5VR/l5nSq9VyJaWvZ0=
|
||||
SIZE (urlwatch-2.18.tar.gz) = 48268
|
||||
|
@ -1,6 +1,8 @@
|
||||
$OpenBSD: patch-lib_urlwatch_config_py,v 1.1 2016/12/14 10:17:21 sthen Exp $
|
||||
--- lib/urlwatch/config.py.orig Tue Dec 6 14:08:12 2016
|
||||
+++ lib/urlwatch/config.py Tue Dec 6 14:08:37 2016
|
||||
$OpenBSD: patch-lib_urlwatch_config_py,v 1.2 2020/05/14 11:49:33 sthen Exp $
|
||||
|
||||
Index: lib/urlwatch/config.py
|
||||
--- lib/urlwatch/config.py.orig
|
||||
+++ lib/urlwatch/config.py
|
||||
@@ -61,7 +61,8 @@ class CommandConfig(BaseConfig):
|
||||
|
||||
if self.bindir == 'bin':
|
||||
|
16
www/urlwatch/patches/patch-setup_py
Normal file
16
www/urlwatch/patches/patch-setup_py
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-setup_py,v 1.3 2020/05/14 11:49:33 sthen Exp $
|
||||
|
||||
pycodestyle is only used for tests
|
||||
|
||||
Index: setup.py
|
||||
--- setup.py.orig
|
||||
+++ setup.py
|
||||
@@ -17,7 +17,7 @@ if sys.version_info < (3, 3):
|
||||
m['name'] = 'urlwatch'
|
||||
m['author'], m['author_email'] = re.match(r'(.*) <(.*)>', m['author']).groups()
|
||||
m['description'], m['long_description'] = docs[0].strip().split('\n\n', 1)
|
||||
-m['install_requires'] = ['minidb', 'PyYAML', 'requests', 'keyring', 'pycodestyle', 'appdirs', 'lxml', 'cssselect']
|
||||
+m['install_requires'] = ['minidb', 'PyYAML', 'requests', 'keyring', 'appdirs', 'lxml', 'cssselect']
|
||||
if sys.version_info < (3, 4):
|
||||
m['install_requires'].extend(['enum34'])
|
||||
if sys.platform == 'win32':
|
@ -1,21 +1,24 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2018/06/02 13:57:12 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.7 2020/05/14 11:49:33 sthen Exp $
|
||||
bin/urlwatch
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch.egg-info/entry_points.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch.egg-info/requires.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/${MODPY_PYCACHE}/
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/urlwatch/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/${MODPY_PYCACHE}cli.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/${MODPY_PYCACHE}command.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/${MODPY_PYCACHE}filters.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
@ -30,6 +33,7 @@ lib/python${MODPY_VERSION}/site-packages/urlwatch/${MODPY_PYCACHE}reporters.${MO
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/${MODPY_PYCACHE}storage.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/${MODPY_PYCACHE}util.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/${MODPY_PYCACHE}worker.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/cli.py
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/command.py
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/config.py
|
||||
lib/python${MODPY_VERSION}/site-packages/urlwatch/filters.py
|
||||
|
Loading…
Reference in New Issue
Block a user