notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-pytest-localserver Py.test Plugin to test server connections locally
0.8.1 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.8.1Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-02-26 03:43:27
Last Update: 2024-03-09 15:21:16
Commit Hash: 9c810cc
People watching this port, also watch:: py39-Automat, freeimage, font-misc-meltho, libjxl, py39-pycparser
Also Listed In: python
License: MIT
WWW:
https://github.com/pytest-dev/pytest-localserver
Description:
pytest-localserver is a plugin for the pytest testing framework which enables you to test server connections locally. Sometimes monkeypatching urllib2.urlopen() just does not cut it, for instance if you work with urllib2.Request, define your own openers/handlers or work with httplib. In these cases it may come in handy to have an HTTP server running locally which behaves just like the real thing. Well, look no further!
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pytest-localserver>0:devel/py-pytest-localserver@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-pytest-localserver/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-pytest-localserver
  • pkg install py39-pytest-localserver
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-pytest-localserver listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-pytest-localserver
Package flavors (<flavor>: <package>)
  • py39: py39-pytest-localserver
distinfo:
TIMESTAMP = 1697092533 SHA256 (pytest-localserver-0.8.1.tar.gz) = 66569c34fef31a5750b16effd1cd1288a7a90b59155d005e7f916accd3dee4f1 SIZE (pytest-localserver-0.8.1.tar.gz) = 29088

Packages (timestamps in pop-ups are UTC):
py311-pytest-localserver
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.8.10.8.1-0.8.10.8.1---
FreeBSD:13:quarterly-0.8.1--0.8.1---
FreeBSD:14:latest0.8.10.8.1-0.8.10.8.1---
FreeBSD:14:quarterly-0.8.1--0.8.1---
FreeBSD:15:latest0.8.10.8.1n/a-n/a---
 
py37-pytest-localserver
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.5.0---0.5.0-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-pytest-localserver
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly0.8.1-0.7.1_10.8.1-0.8.10.8.10.8.1
FreeBSD:14:latest--0.7.0--0.7.1_1-0.7.1_1
FreeBSD:14:quarterly0.8.1--0.8.1-0.8.10.8.10.8.1
FreeBSD:15:latest--n/a0.8.1n/a0.8.10.8.10.8.1
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>0 : devel/py-setuptools@py39
  2. py39-setuptools-scm>=3.4.3 : devel/py-setuptools-scm@py39
  3. py39-wheel>0 : devel/py-wheel@py39
  4. python3.9 : lang/python39
  5. py39-build>=0 : devel/py-build@py39
  6. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. py39-requests>0 : www/py-requests@py39
  2. py39-pytest>=7,1 : devel/py-pytest@py39
  3. python3.9 : lang/python39
Runtime dependencies:
  1. py39-aiosmtpd>0 : mail/py-aiosmtpd@py39
  2. py39-pytest>0 : devel/py-pytest@py39
  3. py39-werkzeug>=0.10 : www/py-werkzeug@py39
  4. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-pytest-localserver
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pytest-localserver/
  2. https://pypi.org/packages/source/p/pytest-localserver/
Collapse this list.

Number of commits found: 24

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.8.1
09 Mar 2024 15:21:16
commit hash: 9c810cc14504877eab760c30d2325ad701178c70commit hash: 9c810cc14504877eab760c30d2325ad701178c70commit hash: 9c810cc14504877eab760c30d2325ad701178c70commit hash: 9c810cc14504877eab760c30d2325ad701178c70 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-pytest-localserver: Convert to USE_PYTHON=pytest

Approved by:	portmgr (blanket)
With hat:	python
0.8.1
29 Feb 2024 07:18:32
commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/py-setuptools-scm: update to 8.0.4

Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.

Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.

Further details: https://wiki.freebsd.org/Python/setuptools

Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288
0.8.1
12 Oct 2023 06:57:06
commit hash: 9b15e5cee086491caece0cb736fcf2d814c971c4commit hash: 9b15e5cee086491caece0cb736fcf2d814c971c4commit hash: 9b15e5cee086491caece0cb736fcf2d814c971c4commit hash: 9b15e5cee086491caece0cb736fcf2d814c971c4 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-pytest-localserver: Update version 0.8.0=>0.8.1

Changelog:
https://github.com/pytest-dev/pytest-localserver/releases/tag/v0.8.1
0.8.0
18 Jul 2023 00:53:09
commit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0a files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}

Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.

With hat: python
PR: 270510, 270358
0.8.0
16 Jul 2023 11:24:44
commit hash: 7808da141a3c74577cc39ea290a4868425939d7dcommit hash: 7808da141a3c74577cc39ea290a4868425939d7dcommit hash: 7808da141a3c74577cc39ea290a4868425939d7dcommit hash: 7808da141a3c74577cc39ea290a4868425939d7d files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-pytest-localserver: Update version 0.7.1=>0.8.0

Changelog:
https://github.com/pytest-dev/pytest-localserver/releases/tag/v0.8.0
0.7.1_1
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.7.1_1
17 Apr 2023 18:52:12
commit hash: 229ae7eafd3fd9b9334ded587b6d7fd848d859eecommit hash: 229ae7eafd3fd9b9334ded587b6d7fd848d859eecommit hash: 229ae7eafd3fd9b9334ded587b6d7fd848d859eecommit hash: 229ae7eafd3fd9b9334ded587b6d7fd848d859ee files touched by this commit
Jose Alonso Cardenas Marquez (acm) search for other commits by this committer
*/*: Bump PORTREVISION. mail/py-aiosmtpd was updated to 1.4.4
0.7.1
15 Apr 2023 13:14:59
commit hash: e95c9e8053d467b4e0c5ea31af44444c609e0b99commit hash: e95c9e8053d467b4e0c5ea31af44444c609e0b99commit hash: e95c9e8053d467b4e0c5ea31af44444c609e0b99commit hash: e95c9e8053d467b4e0c5ea31af44444c609e0b99 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-pytest-localserver: Update version 0.7.0=>0.7.1

Changelog:
https://github.com/pytest-dev/pytest-localserver/releases/tag/v0.7.1
0.7.0
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
0.7.0
10 Sep 2022 13:39:22
commit hash: eabc1f0876c45e237e318773d74ac5f960ef10ffcommit hash: eabc1f0876c45e237e318773d74ac5f960ef10ffcommit hash: eabc1f0876c45e237e318773d74ac5f960ef10ffcommit hash: eabc1f0876c45e237e318773d74ac5f960ef10ff files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-pytest-localserver: Update version 0.6.0=>0.7.0

- Switch to USES=pytest

Relnotes:
https://github.com/pytest-dev/pytest-localserver/releases/tag/v0.7.0
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.6.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.6.0
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.6.0
07 May 2022 21:37:44
commit hash: fc6cc69c0efe7fce24b4abd59b1552759b2b036ecommit hash: fc6cc69c0efe7fce24b4abd59b1552759b2b036ecommit hash: fc6cc69c0efe7fce24b4abd59b1552759b2b036ecommit hash: fc6cc69c0efe7fce24b4abd59b1552759b2b036e files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-pytest-localserver: Update version 0.5.1=>0.6.0

Relnotes:
https://github.com/pytest-dev/pytest-localserver/releases/tag/v0.6.0
0.5.1
12 Mar 2022 10:39:26
commit hash: 49790c2f1cbd84ae8cf3b8fa3932fe794cd5246bcommit hash: 49790c2f1cbd84ae8cf3b8fa3932fe794cd5246bcommit hash: 49790c2f1cbd84ae8cf3b8fa3932fe794cd5246bcommit hash: 49790c2f1cbd84ae8cf3b8fa3932fe794cd5246b files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-pytest-localserver: Update version 0.5.0=>0.5.1

- Update WWW

Relnotes:
https://github.com/pytest-dev/pytest-localserver/releases/tag/v0.5.1
0.5.0
08 Mar 2022 02:09:57
commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Take maintainership
0.5.0
07 Mar 2022 19:07:39
commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: return koobs' ports to the pool after safekeeping his commit bit.
0.5.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.5.0
14 Jul 2020 07:59:28
Revision:542200Original commit files touched by this commit
antoine search for other commits by this committer
Unbreak bulk -a
0.5.0
25 Apr 2019 12:23:06
Revision:499990Original commit files touched by this commit
koobs search for other commits by this committer
devel/py-pytest-localserver: Update to 0.5.0
0.3.5
20 Jun 2018 17:05:44
Revision:472884Original commit files touched by this commit
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
0.3.5
30 Nov 2017 15:50:34
Revision:455210Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.3.5
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
0.3.5
26 Feb 2016 03:43:19
Revision:409576Original commit files touched by this commit
koobs search for other commits by this committer
[NEW] devel/py-pytest-localserver: Py.test Plugin to test server connections
locally

pytest-localserver is a plugin for the pytest testing framework which
enables you to test server connections locally.

Sometimes monkeypatching urllib2.urlopen() just does not cut it, for
instance if you work with urllib2.Request, define your own
openers/handlers or work with httplib. In these cases it may come in
handy to have an HTTP server running locally which behaves just like
the real thing. Well, look no further!

WWW: https://bitbucket.org/pytest-dev/pytest-localserver/

Number of commits found: 24