Changeset View
Changeset View
Standalone View
Standalone View
sysutils/py-mqttwarn/files/patch-setup.py
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# Fix the versions according to what has been tested to work | |||||
# change == to >= | |||||
--- setup.py.orig 2020-08-08 02:11:44 UTC | |||||
+++ setup.py | |||||
@@ -7,14 +7,14 @@ here = os.path.abspath(os.path.dirname(__file__)) | |||||
README = open(os.path.join(here, 'README.rst')).read() | |||||
requires = [ | |||||
- 'six==1.13.0', | |||||
- 'paho-mqtt==1.5.0', | |||||
- 'jinja2==2.10.3', | |||||
- 'attrs==19.3.0', | |||||
- 'docopt==0.6.2', | |||||
- 'requests==2.22.0', | |||||
- 'future==0.18.2', | |||||
- 'configparser==4.0.2', | |||||
+ 'six>=1.13.0', | |||||
koobs: These (all) == need to be replaced with >=. == dependencies are extremely brittle and break… | |||||
Done Inline ActionsWhen I find: tests_require=extras['test'], and that is defined as: 'test': [ 'pytest==4.6.7', 'pytest-cov==2.8.1', 'lovely.testlayers>=0.7.1', 'tox==3.14.2', ], Does this result: TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov \ ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox I could not locate lovely.testlayers in our tree. dvl: When I find: tests_require=extras['test'],
and that is defined as:
'test'… | |||||
Not Done Inline ActionsI usually just add # <test dependency line> # to be ported until its ported koobs: I usually just add `# <test dependency line> # to be ported` until its ported | |||||
Done Inline ActionsSome of these values are modified from the upstream source (i.e. lower versions) because that is what we have in the ports tree now and I find that they work. dvl: Some of these values are modified from the upstream source (i.e. lower versions) because that… | |||||
+ 'paho-mqtt>=1.4.0', | |||||
+ 'jinja2>=2.10.1', | |||||
+ 'attrs>=19.3.0', | |||||
+ 'docopt>=0.6.2', | |||||
+ 'requests>=2.22.0', | |||||
+ 'future>=0.18.2', | |||||
+ 'configparser>=3.5.3', | |||||
] | |||||
extras = { |
These (all) == need to be replaced with >=. == dependencies are extremely brittle and break every time a port dependency version changes.
https://wiki.freebsd.org/Python/PortsPolicy#Dependencies