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-oauth2 Python library for OAuth version 1.0
1.9.0.p1_1 net on this many watch lists=3 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 1.9.0.p1Version of this port present on the latest quarterly branch.
Maintainer: python@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2011-03-02 10:04:41
Last Update: 2024-07-06 16:12:24
Commit Hash: 8c146a6
People watching this port, also watch:: dhcp6, py39-werkzeug, py39-flask, mbuffer, py311-itsdangerous
Also Listed In: python
License: MIT
WWW:
https://github.com/joestump/python-oauth2
Description:
This code was originally forked from Leah Culver and Andy Smith's oauth.py code (see net/py-oauth). A number of notable differences exist between this code and its forefathers: * 100% unit test coverage. * The DataStore object has been completely ripped out. * Classes are no longer prefixed with OAuth. * The Request class now extends from dict. * The library is likely no longer compatible with Python 2.3. * The Client class works and extends from httplib2.
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}oauth2>0:net/py-oauth2@${PY_FLAVOR}
To install the port:
cd /usr/ports/net/py-oauth2/ && make install clean
To add the package, run one of these commands:
  • pkg install net/py-oauth2
  • pkg install py311-oauth2
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 py311-oauth2 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-oauth2
Package flavors (<flavor>: <package>)
  • py311: py311-oauth2
distinfo:
TIMESTAMP = 1482525505 SHA256 (oauth2-1.9.0.post1.tar.gz) = c006a85e7c60107c7cc6da1b184b5c719f6dd7202098196dfa6e55df669b59bf SIZE (oauth2-1.9.0.post1.tar.gz) = 21306

Packages (timestamps in pop-ups are UTC):
py37-oauth2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--1.9.0.p1---1.9.0.p1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-oauth2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--1.9.0.p1--1.9.0.p11.9.0.p11.9.0.p1
FreeBSD:14:latest--1.9.0.p1--1.9.0.p1-1.9.0.p1
FreeBSD:14:quarterly-----1.9.0.p11.9.0.p11.9.0.p1
FreeBSD:15:latest--n/a-n/a1.9.0.p11.9.0.p11.9.0.p1
 
py311-oauth2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.9.0.p1_11.9.0.p1_1-1.9.0.p1_11.9.0.p1_1---
FreeBSD:13:quarterly1.9.0.p1_11.9.0.p1_1-1.9.0.p1_11.9.0.p1_1---
FreeBSD:14:latest1.9.0.p1_11.9.0.p1_1-1.9.0.p1_11.9.0.p1_1---
FreeBSD:14:quarterly1.9.0.p1_11.9.0.p1_1-1.9.0.p1_11.9.0.p1_1---
FreeBSD:15:latest1.9.0.p1_11.9.0.p1_1n/a1.9.0.p1_1n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=0 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-coverage>0 : devel/py-coverage@py311
  2. py311-mock>0 : devel/py-mock@py311
  3. python3.11 : lang/python311
Runtime dependencies:
  1. py311-httplib2>0 : www/py-httplib2@py311
  2. python3.11 : lang/python311
This port is required by:
for Run

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. www/py-evernote*
  2. www/py-requests-oauth-hook*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
net_py-oauth2
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/o/oauth2/
  2. https://pypi.org/packages/source/o/oauth2/
Collapse this list.

Number of commits found: 26

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.9.0.p1_1
06 Jul 2024 16:12:24
commit hash: 8c146a6ddb903eba6e0f9f1e8e2e4fa31568c17fcommit hash: 8c146a6ddb903eba6e0f9f1e8e2e4fa31568c17fcommit hash: 8c146a6ddb903eba6e0f9f1e8e2e4fa31568c17fcommit hash: 8c146a6ddb903eba6e0f9f1e8e2e4fa31568c17f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
net/py-oauth2: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
1.9.0.p1
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>
1.9.0.p1
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
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)
1.9.0.p1
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)
1.9.0.p1
20 Jul 2022 14:22:37
commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
net: remove 'Created by' lines

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

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Jette <jettea46@yahoo.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Bakhtin <Alex.Bakhtin@gmail.com>
  *  Alex Deiter <Alex.Deiter@Gmail.COM>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.9.0.p1
21 Jun 2022 16:36:32
commit hash: 17466f8aa7b2bc96e2138a3435ec51ba33e7d38acommit hash: 17466f8aa7b2bc96e2138a3435ec51ba33e7d38acommit hash: 17466f8aa7b2bc96e2138a3435ec51ba33e7d38acommit hash: 17466f8aa7b2bc96e2138a3435ec51ba33e7d38a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
net/py-oauth2: Convert to USE_PYTHON=unittest

- Remove unneeded TESTS option
1.9.0.p1
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.
1.9.0.p1
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
1.9.0.p1
12 Jul 2018 08:37:45
Revision:474494Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Switch to new test framework

Approved by:	portmgr blanket
1.9.0.p1
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
1.9.0.p1
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)
1.9.0.p1
24 Dec 2016 13:04:00
Revision:429348Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 1.9.0.post1
- Add NO_ARCH
- Relax USES=python

Changes:	https://github.com/joestump/python-oauth2/commits/release/1.9
1.5.211_3
02 Dec 2016 09:21:59
Revision:427548Original commit files touched by this commit
mat search for other commits by this committer
http://github.com redirects to https://github.com, spare everyone a redirect.

Sponsored by:	Absolight
1.5.211_3
01 Apr 2016 14:16:20
Revision:412348Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
1.5.211_3
11 Feb 2015 13:34:46
Revision:378838Original commit files touched by this commit
koobs search for other commits by this committer
net/py-oauth2: Clean up, modernize & add QA bits

- Take maintainership under python@'s wings
- httplib2 is a RUN not BUILD dependency
- Add TEST_DEPENDS and regression-test target
- Limit to Python 2.x
- Sort USE_PYTHON values
- Add breadcrumb/notes to setup.py patch
- Make pkg-descr a bit prettier
1.5.211_2
02 Dec 2014 22:40:57
Revision:373790Original commit files touched by this commit
bapt search for other commits by this committer
Reset maintainership:
- Lots of maintainers timeout
- unresponsive for almost a year

PR:		195059
1.5.211_2
24 Oct 2014 16:21:26
Revision:371449Original commit files touched by this commit
mva search for other commits by this committer
- Convert ports of net/ to new USES=python

Approved by:	portmgr (implicit)
1.5.211_2
15 Mar 2014 15:07:08
Revision:348331Original commit files touched by this commit
koobs search for other commits by this committer
net/py-oauth2: Fix tests from being installed in site-packages

- Patch setup.py to exclude tests from install (CONFLICT) [1][2]
- pkg-descr: Tab->space in WWW: (portlint)
- Bump PORTREVISION

[1] This Python package uses packages=find_packages() with a tests
module in the root that contains an __init__.py file, which results
in the tests module being installed in site-packages. The correct way
of including tests in a pypi package using sdist, while excluding tests
in the root from being installed it to use:

 * packages = find_packages(exclude='tests'),
 * A MANIFEST.in containing "include tests/*" or equivalent

[2] https://github.com/simplegeo/python-oauth2/issues/139

Reported by:	antoine
Approved by:	maintainer (via Twitter)
1.5.211_1
29 Jan 2014 16:17:02
Revision:341755Original commit files touched by this commit
miwi search for other commits by this committer
- Stage support
- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION
1.5.211
20 Sep 2013 22:10:25
Revision:327755Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
net)
1.5.211
26 Jun 2012 06:13:02
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 1.5.211
- Add LICENSE

PR:             ports/168575
Submitted by:   koobs <koobs.freebsd_AT_gmail.com>
1.5.170
21 Jan 2012 17:40:15
Original commit files touched by this commit
eadler search for other commits by this committer
At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:    portmgr
1.5.170
06 May 2011 05:34:14
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 1.5.170
1.5.168
06 Apr 2011 08:03:11
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 1.5.168
1.5.167
02 Mar 2011 10:04:17
Original commit files touched by this commit
clsung search for other commits by this committer
net/py-oauth2 was originally forked from Leah Culver and Andy Smith's
oauth.py code (see net/py-oauth).

A number of notable differences exist between this code and its
forefathers:

* 100% unit test coverage.
* The DataStore object has been completely ripped out.
* Classes are no longer prefixed with OAuth.
* The Request class now extends from dict.
* The library is likely no longer compatible with Python 2.3.
* The Client class works and extends from httplib2.

WWW:    http://github.com/simplegeo/python-oauth2

Number of commits found: 26