pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-github3.py: Update to 1.2.0



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Fri Dec 21 22:31:56 2018 +0100
Changeset:	46df2db0549a9330d47c88abb29af911eb94e317

Modified Files:
	py-github3.py/Makefile
	py-github3.py/PLIST
	py-github3.py/distinfo
Removed Files:
	py-github3.py/patches/patch-setup.py

Log Message:
py-github3.py: Update to 1.2.0

Changes:
1.2.0: 2018-08-22
-----------------
This is a larger release with some enhancements and bug fixes.

Features Added
``````````````
- Partial GitHub Apps support. We added the following:
  - ``GitHub.login_as_app`` to login using JWT as an Application
  - ``GitHub.login_as_app_installation`` to login using a token obtained from
    an App's JWT
  - ``GitHub.app`` to retrieve an application by its "slug"
  - ``GitHub.app_installation`` to retrieve a specific installation by its ID
  - ``GitHub.app_installations`` to retrieve all of an App's installations
  - ``GitHub.app_installation_for_organization`` to retrieve an organization's
    installation of an App
  - ``GitHub.app_installation_for_repository`` to retrieve an installation for
    a specific repository
  - ``GitHub.app_installation_for_user`` to retrieve an installation for a
    specific user
  - ``GitHub.authenticated_app`` to retrieve the metadata for a specific App
  - Not supported as of this release:
    - `Installations API`_
    - `List installations for user`_
    - `User-to-server OAuth access token`_
- Organization Invitations Preview API is now supported. This includes an
  additional ``Invitation`` object. This is the result of hard work by Hal
  Wine.
- A ``ShortLabel`` class was added to represent the shorter (description-less)
  representation of labels returned by the API.
- The branch protections API is now completely represented in github3.py.
- We now support the GPG Keys API.
- We now support the Commit Search API.
- We now support Repository Invitations.
- We now have assign and unassign methods that support assigning and
  unassigning multiple users at once.
- We now support review requests on Pull Requests.
- We now support the ability for a user to activate their membership in an
  Organization.
- We now support recurisvely traverse a tree via the API.
- We now support enabling or disabling projects on a Repository.
- We now support editing and reading Repository topics.
- We now support Repository Pull Request merge settings.

Bugs Fixed
``````````
- No longer require a Gist to have an owner.
- ``Branch.latest_sha()`` now returns text (unicode) as documented.

Special Thanks
``````````````
A great deal of the exception feature work done above was performed by the
newest team member of the github3.py project: Jacopo Notarstefano (a.k.a,
``@jacquerie`` on GitHub). This project has had new life breathed into it
thanks to Jacopo.

1.1.0: 2018-04-09
-----------------
This is a small release with some enhancements.

Features Added
``````````````
- Repository collaborators now returns a ``users.Collaborator`` object, instead
  of a ``users.ShortUser`` object. This is to support collaborator
  affiliations. A refresh call of this object (and ``users.Contributor``) will
  result in a full ``users.User`` object.
- The call to iterate collaborators of a repository
  (``Repository#collaborators``) can now take an ``affiliation`` filter with
  options of ``outside``, ``direct``, and ``all``. The default is ``all``,
  which preserves the previous behavior of this method.

Bugs Fixed
``````````
- Parse certain attributes on ``IssueEvent`` into objects (again, this was a
  regression in 1.0)
- Handle older GitHub Enterprise responses for authenticated user objects
- Handle large file pull request responses not including a ``patch`` attribute

1.0.2: 2018-03-28
-----------------
Bugs Fixed
``````````
- Handle 304s from users passing etag
- Generate ``_api`` attribute for ``ShortBranch`` objects
- Require auth for creating gists
- Ensure only desired auth scheme is used with requests
- Handle older GitHub Enterprise responses for repository objects

1.0.1: 2018-03-14
-----------------
Bugs Fixed
~~~~~~~~~~
- Fix missing python-dateutil requirement when installing from a wheel.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=46df2db0549a9330d47c88abb29af911eb94e317

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-github3.py/Makefile               |  8 +++++---
 py-github3.py/PLIST                  | 18 +++++++++++++++---
 py-github3.py/distinfo               |  9 ++++-----
 py-github3.py/patches/patch-setup.py | 16 ----------------
 4 files changed, 24 insertions(+), 27 deletions(-)

diffs:
diff --git a/py-github3.py/Makefile b/py-github3.py/Makefile
index 04edfcb910..8794cf5ab0 100644
--- a/py-github3.py/Makefile
+++ b/py-github3.py/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	github3.py-1.0.0a4
+DISTNAME=	github3.py-1.2.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=g/github3.py/}
@@ -10,8 +10,10 @@ HOMEPAGE=	https://github3py.readthedocs.org/
 COMMENT=	Python wrapper for the GitHub API
 LICENSE=	modified-bsd
 
-DEPENDS+=	${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
-DEPENDS+=	${PYPKGPREFIX}-uritemplate>=0.2.0:../../textproc/py-uritemplate
+DEPENDS+=	${PYPKGPREFIX}-dateutil>=2.6.0:../../time/py-dateutil
+DEPENDS+=	${PYPKGPREFIX}-jwcrypto>=0.5.0:../../wip/py-jwcrypto
+DEPENDS+=	${PYPKGPREFIX}-requests>=2.18:../../devel/py-requests
+DEPENDS+=	${PYPKGPREFIX}-uritemplate>=3.0.0:../../textproc/py-uritemplate
 
 USE_LANGUAGES=	# none
 
diff --git a/py-github3.py/PLIST b/py-github3.py/PLIST
index dcdcccaa6f..99d743df31 100644
--- a/py-github3.py/PLIST
+++ b/py-github3.py/PLIST
@@ -13,6 +13,9 @@ ${PYSITELIB}/github3/__init__.pyo
 ${PYSITELIB}/github3/api.py
 ${PYSITELIB}/github3/api.pyc
 ${PYSITELIB}/github3/api.pyo
+${PYSITELIB}/github3/apps.py
+${PYSITELIB}/github3/apps.pyc
+${PYSITELIB}/github3/apps.pyo
 ${PYSITELIB}/github3/auths.py
 ${PYSITELIB}/github3/auths.pyc
 ${PYSITELIB}/github3/auths.pyo
@@ -73,12 +76,12 @@ ${PYSITELIB}/github3/models.pyo
 ${PYSITELIB}/github3/notifications.py
 ${PYSITELIB}/github3/notifications.pyc
 ${PYSITELIB}/github3/notifications.pyo
-${PYSITELIB}/github3/null.py
-${PYSITELIB}/github3/null.pyc
-${PYSITELIB}/github3/null.pyo
 ${PYSITELIB}/github3/orgs.py
 ${PYSITELIB}/github3/orgs.pyc
 ${PYSITELIB}/github3/orgs.pyo
+${PYSITELIB}/github3/projects.py
+${PYSITELIB}/github3/projects.pyc
+${PYSITELIB}/github3/projects.pyo
 ${PYSITELIB}/github3/pulls.py
 ${PYSITELIB}/github3/pulls.pyc
 ${PYSITELIB}/github3/pulls.pyo
@@ -106,6 +109,9 @@ ${PYSITELIB}/github3/repos/deployment.pyo
 ${PYSITELIB}/github3/repos/hook.py
 ${PYSITELIB}/github3/repos/hook.pyc
 ${PYSITELIB}/github3/repos/hook.pyo
+${PYSITELIB}/github3/repos/invitation.py
+${PYSITELIB}/github3/repos/invitation.pyc
+${PYSITELIB}/github3/repos/invitation.pyo
 ${PYSITELIB}/github3/repos/issue_import.py
 ${PYSITELIB}/github3/repos/issue_import.pyc
 ${PYSITELIB}/github3/repos/issue_import.pyo
@@ -127,12 +133,18 @@ ${PYSITELIB}/github3/repos/status.pyo
 ${PYSITELIB}/github3/repos/tag.py
 ${PYSITELIB}/github3/repos/tag.pyc
 ${PYSITELIB}/github3/repos/tag.pyo
+${PYSITELIB}/github3/repos/topics.py
+${PYSITELIB}/github3/repos/topics.pyc
+${PYSITELIB}/github3/repos/topics.pyo
 ${PYSITELIB}/github3/search/__init__.py
 ${PYSITELIB}/github3/search/__init__.pyc
 ${PYSITELIB}/github3/search/__init__.pyo
 ${PYSITELIB}/github3/search/code.py
 ${PYSITELIB}/github3/search/code.pyc
 ${PYSITELIB}/github3/search/code.pyo
+${PYSITELIB}/github3/search/commit.py
+${PYSITELIB}/github3/search/commit.pyc
+${PYSITELIB}/github3/search/commit.pyo
 ${PYSITELIB}/github3/search/issue.py
 ${PYSITELIB}/github3/search/issue.pyc
 ${PYSITELIB}/github3/search/issue.pyo
diff --git a/py-github3.py/distinfo b/py-github3.py/distinfo
index ff9c11c9f1..5ea00617b8 100644
--- a/py-github3.py/distinfo
+++ b/py-github3.py/distinfo
@@ -1,7 +1,6 @@
 $NetBSD$
 
-SHA1 (github3.py-1.0.0a4.tar.gz) = ecf94c189605a34d27f28aeb0d374c18f7b99c56
-RMD160 (github3.py-1.0.0a4.tar.gz) = 858f70789656759d9e8b529e3aa2c33366fd3da2
-SHA512 (github3.py-1.0.0a4.tar.gz) = 21c81f643398b90015a93982f3c186c6e6d210b3ce74d4bcab7fdb459a56edb243c36fd291256b6f938aec04d16a35d59746a914f59c9a1247d533b3fad53de1
-Size (github3.py-1.0.0a4.tar.gz) = 3466297 bytes
-SHA1 (patch-setup.py) = 8be7ed5e79e7b1250b0fd2255bc5bfa2bbf658a7
+SHA1 (github3.py-1.2.0.tar.gz) = 928ab64d6961b8e890dd37eb50651282aaf79a71
+RMD160 (github3.py-1.2.0.tar.gz) = 9831eee20f18e18cf1b2f5816982768cb3754c7e
+SHA512 (github3.py-1.2.0.tar.gz) = affe356fc146edc2646760dbe39c5e720f0cc9e28c238152b65041e70050110c19e2b145eb61631468c50e2cf8ac29e808a1b0f18f9fd3be825e0da0a962978a
+Size (github3.py-1.2.0.tar.gz) = 35254394 bytes
diff --git a/py-github3.py/patches/patch-setup.py b/py-github3.py/patches/patch-setup.py
deleted file mode 100644
index d41261a86f..0000000000
--- a/py-github3.py/patches/patch-setup.py
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-uritemplate.py was merged to uritemplate on 2016-08-29 and on pkgsrc only the
-latter is available. Adjust the requirements accordingly.
-
---- setup.py.orig	2016-02-17 22:36:54.000000000 +0000
-+++ setup.py
-@@ -34,7 +34,7 @@ if sys.argv[-1] in ("submit", "publish")
-     os.system("python setup.py bdist_wheel sdist upload")
-     sys.exit()
- 
--requires.extend(["requests >= 2.0", "uritemplate.py >= 0.2.0"])
-+requires.extend(["requests >= 2.0", "uritemplate >= 0.2.0"])
- 
- __version__ = ''
- with open('github3/__about__.py', 'r') as fd:


Home | Main Index | Thread Index | Old Index