-
-
Notifications
You must be signed in to change notification settings - Fork 480
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Release 2.0.7 (#519) from skion/2.0.7
- Loading branch information
Showing
51 changed files
with
345 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,5 @@ Juan Fabio García Solero | |
Omer Katz | ||
Joel Stevenson | ||
Brendan McCollam | ||
Jonathan Huot | ||
Pieter Ennes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,57 @@ | ||
PYS = py27,py34,pypy | ||
# Downstream tests (Don't be evil) | ||
# | ||
# Try and not break the libraries below by running their tests too. | ||
# | ||
# Unfortunately there is no neat way to run downstream tests AFAIK | ||
# Until we have a proper downstream testing system we will | ||
# stick to this Makefile. | ||
#--------------------------- | ||
# HOW TO ADD NEW DOWNSTREAM LIBRARIES | ||
# | ||
# Please specify your library as well as primary contacts. | ||
# Since these contacts will be addressed with Github mentions they | ||
# need to be Github users (for now)(sorry Bitbucket). | ||
# | ||
clean: | ||
rm -rf .tox | ||
rm -rf bottle-oauthlib | ||
rm -rf django-oauth-toolkit | ||
rm -rf flask-oauthlib | ||
rm -rf requests-oauthlib | ||
|
||
test: | ||
# Test OAuthLib | ||
tox -e "$(PYS)" | ||
# | ||
# Downstream tests (Don't be evil) | ||
# | ||
# Try and not break the libraries below by running their tests too. | ||
# | ||
# Unfortunately there is no neat way to run downstream tests AFAIK | ||
# Until we have a proper downstream testing system we will | ||
# stick to this Makefile. | ||
tox | ||
|
||
bottle: | ||
#--------------------------- | ||
# HOW TO ADD NEW DOWNSTREAM LIBRARIES | ||
# | ||
# Please specify your library as well as primary contacts. | ||
# Since these contacts will be addressed with Github mentions they | ||
# need to be Github users (for now)(sorry Bitbucket). | ||
# | ||
# Library thomsonreuters/bottle-oauthlib | ||
# Contacts: Jonathan.Huot | ||
cd bottle-oauthlib 2>/dev/null || git clone https://github.com/thomsonreuters/bottle-oauthlib.git | ||
cd bottle-oauthlib && sed -i.old 's,deps =,deps= --editable=file://{toxinidir}/../,' tox.ini && sed -i.old '/oauthlib/d' requirements.txt && tox | ||
|
||
flask: | ||
#--------------------------- | ||
# Library: lepture/flask-oauthLib | ||
# Contacts: lepture,widnyana | ||
git clone https://github.com/lepture/flask-oauthlib.git | ||
cd flask-oauthlib && cp ../tox.ini . && sed -i 's/py32,py33,py34,//' tox.ini && sed -i '/mock/a \ Flask-SQLAlchemy' tox.ini && tox -e "$(PYS)" | ||
rm -rf flask-oauthlib | ||
cd flask-oauthlib 2>/dev/null || git clone https://github.com/lepture/flask-oauthlib.git | ||
cd flask-oauthlib && sed -i.old 's,deps =,deps= --editable=file://{toxinidir}/../,' tox.ini && sed -i.old '/oauthlib/d' requirements.txt && tox | ||
|
||
django: | ||
#--------------------------- | ||
# Library: evonove/django-oauth-toolkit | ||
# Contacts: evonove,masci | ||
# (note: has tox.ini already) | ||
git clone https://github.com/evonove/django-oauth-toolkit.git | ||
cd django-oauth-toolkit && tox -e "$(PYS)" | ||
rm -rf django-oauth-toolkit | ||
cd django-oauth-toolkit 2>/dev/null || git clone https://github.com/evonove/django-oauth-toolkit.git | ||
cd django-oauth-toolkit && sed -i.old 's,deps =,deps= --editable=file://{toxinidir}/../,' tox.ini && tox -e py27,py35,py36 | ||
|
||
requests: | ||
#--------------------------- | ||
# Library requests/requests-oauthlib | ||
# Contacts: ib-lundgren,lukasa | ||
git clone https://github.com/requests/requests-oauthlib.git | ||
cd requests-oauthlib && cp ../tox.ini . && sed -i '/mock/a \ requests' tox.ini && tox -e "$(PYS)" | ||
rm -rf requests-oauthlib | ||
#--------------------------- | ||
# | ||
cd requests-oauthlib 2>/dev/null || git clone https://github.com/requests/requests-oauthlib.git | ||
cd requests-oauthlib && sed -i.old 's,deps=,deps = --editable=file://{toxinidir}/../[signedtoken],' tox.ini && sed -i.old '/oauthlib/d' requirements.txt && tox | ||
|
||
pycco: | ||
find oauthlib -name "*.py" -exec pycco -p -s reST {} \; | ||
|
||
pycco-clean: | ||
rm -rf docs/oauthlib docs/pycco.css | ||
.DEFAULT_GOAL := all | ||
.PHONY: clean test bottle django flask requests | ||
all: clean test bottle django flask requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.