Commit Graph

15 Commits

Author SHA1 Message Date
sthen
4bef8c5762 use MODPY_PYBUILD 2022-11-25 21:11:34 +00:00
sthen
c7010de0bd bump for MODPY_DEFAULT_VERSION_3 change 2022-11-13 15:30:15 +00:00
naddy
ec14803114 drop RCS Ids 2022-03-11 20:09:36 +00:00
sthen
74e3cc3e92 bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:02:51 +00:00
sthen
e27d4113bb switch some Python ports to py3-only. maintainer oks for the relevant
ports from semarie, kmos, jung, martin, benoit, juanfra. general oks
benoit bket daniel kmos
2021-10-24 09:28:46 +00:00
kmos
2795ba2341 Bump the REVISION on all ports that use the python2 version of
py-setuptools.

Also change the lang/python module to use the new
devel/py2-setuptools for python2 ports

ok sthen@
2021-05-21 19:50:21 +00:00
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
sthen
0a5b5bddee replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:50:46 +00:00
kmos
c45cd79fc7 Add RUN_DEPENDS to TEST_DEPENDS automatically for ports using the
lang/python port module. I've not yet come up with a port that
would not need this and one can always set MODPY_TESTDEP to "no"
to prevent the module from touching TEST_DEPENDS.

Idea from afresh1 who pointed out the cpan module already does this.

aja "I support this move."

OK sthen@
2019-05-15 12:04:34 +00:00
sthen
d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00
bcallah
bbbacdf10a Update to py-requests-mock-1.5.2 2018-07-23 03:44:48 +00:00
bcallah
5bcc1c6537 Update to py-requests-mock-1.5.0 2018-05-11 03:45:55 +00:00
sthen
13a684b696 unbreak; add missing BUILD_DEPENDS on py-pbr 2018-02-27 13:16:58 +00:00
espie
f74846dfd0 there's a reason we checksum distfiles contents.
ports shouldn't be allowed to download *whatever* during build
2018-02-27 13:16:01 +00:00
bcallah
bd75036118 Import www/py-requests-mock, library to mock out responses from py-request.
ok phessler@

The requests library has the concept of pluggable transport adapters.
These adapters allow you to register your own handlers for different
URIs or protocols.

The requests-mock library at its core is simply a transport adapter that
can be preloaded with responses that are returned if certain URIs are
requested. This is particularly useful in unit tests where you want to
return known responses from HTTP requests without making actual calls.

As the requests library has very limited options for how to load and use
adapters requests-mock also provides a number of ways to make sure the
mock adapter is used. These are only loading mechanisms, they do not
contain any logic and can be used as a reference to load the adapter in
whatever ways works best for your project.
2018-02-24 21:16:27 +00:00