ports/www/py-urlwatch/files/patch-setup.py
Kai Knoblich b693974d41 www/py-urlwatch: Update to 2.25
* Fix BUILD if DOCS option is unset as BINARY_ALIAS can only be used if
  textproc/py-sphinx (enabled via the DOCS option) is present.

* Add EXAMPLES option to let users choose to install the supplied
  examples.

Changelog:

https://github.com/thp/urlwatch/blob/2.25/CHANGELOG.md

MFH:		2022Q2
2022-05-08 16:38:32 +02:00

15 lines
496 B
Python

Let users decide to install the examples files via the EXAMPLES option.
--- setup.py.orig 2022-05-08 10:57:35 UTC
+++ setup.py
@@ -39,10 +39,6 @@ m['data_files'] = [
'share/man/man7/urlwatch-deprecated.7',
'share/man/man7/urlwatch-intro.7',
]),
- ('share/urlwatch/examples', [
- 'share/urlwatch/examples/hooks.py.example',
- 'share/urlwatch/examples/urls.yaml.example',
- ]),
]
m['project_urls'] = {
'Source': 'https://github.com/thp/urlwatch',