aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbz <sbz@FreeBSD.org>2012-10-18 19:07:45 +0800
committersbz <sbz@FreeBSD.org>2012-10-18 19:07:45 +0800
commitab95c2adf212875da8227f6c5cd2f82cafd86516 (patch)
treef5da37cc5e7fe5cca5e1b3bd4eee095657004842
parent5a817200da96530f5f70dce5b7bb6928ff8e511d (diff)
downloadfreebsd-ports-gnome-ab95c2adf212875da8227f6c5cd2f82cafd86516.tar.gz
freebsd-ports-gnome-ab95c2adf212875da8227f6c5cd2f82cafd86516.tar.zst
freebsd-ports-gnome-ab95c2adf212875da8227f6c5cd2f82cafd86516.zip
- Update to 1.8.0
- Add regression-test target PR: ports/172383 Submitted by: Kubilay Kocak <koobs.freebsd at gmail.com> Feature safe: yes
-rw-r--r--devel/py-pygithub/Makefile17
-rw-r--r--devel/py-pygithub/distinfo4
-rw-r--r--devel/py-pygithub/files/patch-setup.py10
-rw-r--r--devel/py-pygithub/pkg-plist157
4 files changed, 169 insertions, 19 deletions
diff --git a/devel/py-pygithub/Makefile b/devel/py-pygithub/Makefile
index 563deb90f7da..e5c63812d8a3 100644
--- a/devel/py-pygithub/Makefile
+++ b/devel/py-pygithub/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: py-github
-# Date created: 2012-06-04
-# Whom: Kubilay Kocak <koobs.freebsd@gmail.com>
-#
+# Created by: Kubilay Kocak <koobs.freebsd@gmail.com>
# $FreeBSD$
-#
PORTNAME= pygithub
-PORTVERSION= 1.7
+PORTVERSION= 1.8.0
CATEGORIES= devel www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,10 +13,13 @@ COMMENT= Use the full Github API v3 with Python
LICENSE= LGPL3
-USE_ZIP= yes
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
+USE_ZIP= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= PyGithub
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
.include <bsd.port.mk>
diff --git a/devel/py-pygithub/distinfo b/devel/py-pygithub/distinfo
index 486bb3fb83d8..a84f6752d2f5 100644
--- a/devel/py-pygithub/distinfo
+++ b/devel/py-pygithub/distinfo
@@ -1,2 +1,2 @@
-SHA256 (PyGithub-1.7.zip) = add63699beac96f23995b05d856a025b02d170217c02d04a9c386a172dd52a70
-SIZE (PyGithub-1.7.zip) = 106824
+SHA256 (PyGithub-1.8.0.zip) = 60c1d4c72ff2a9728e34308a690ee9477d2f8af7209d02190af4309553499fb5
+SIZE (PyGithub-1.8.0.zip) = 1719761
diff --git a/devel/py-pygithub/files/patch-setup.py b/devel/py-pygithub/files/patch-setup.py
index cb2b6cbbea90..11e838f39364 100644
--- a/devel/py-pygithub/files/patch-setup.py
+++ b/devel/py-pygithub/files/patch-setup.py
@@ -1,11 +1,11 @@
---- ./setup.py.orig 2012-07-13 21:42:12.000000000 +1000
-+++ ./setup.py 2012-07-14 19:15:08.000000000 +1000
-@@ -54,9 +54,6 @@
- packages = [
+--- ./setup.py.orig 2012-10-06 17:07:20.000000000 +1000
++++ ./setup.py 2012-10-06 17:07:31.000000000 +1000
+@@ -68,9 +68,6 @@
"github",
+ "github.tests",
],
- package_data = {
-- "github": [ "ReadMe.md", "COPYING*", "doc/*.md" ]
+- "github": [ "ReadMe.md", "COPYING*", "doc/*.md", "tests/ReplayData/*.txt" ]
- },
classifiers = [
"Development Status :: 5 - Production/Stable",
diff --git a/devel/py-pygithub/pkg-plist b/devel/py-pygithub/pkg-plist
index 300ecb297bee..741c27684eb9 100644
--- a/devel/py-pygithub/pkg-plist
+++ b/devel/py-pygithub/pkg-plist
@@ -1,7 +1,4 @@
@comment $FreeBSD$
-%%PYTHON_SITELIBDIR%%/github/__init__.py
-%%PYTHON_SITELIBDIR%%/github/__init__.pyc
-%%PYTHON_SITELIBDIR%%/github/__init__.pyo
%%PYTHON_SITELIBDIR%%/github/AuthenticatedUser.py
%%PYTHON_SITELIBDIR%%/github/AuthenticatedUser.pyc
%%PYTHON_SITELIBDIR%%/github/AuthenticatedUser.pyo
@@ -170,4 +167,158 @@
%%PYTHON_SITELIBDIR%%/github/UserKey.py
%%PYTHON_SITELIBDIR%%/github/UserKey.pyc
%%PYTHON_SITELIBDIR%%/github/UserKey.pyo
+%%PYTHON_SITELIBDIR%%/github/__init__.py
+%%PYTHON_SITELIBDIR%%/github/__init__.pyc
+%%PYTHON_SITELIBDIR%%/github/__init__.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/AllTests.py
+%%PYTHON_SITELIBDIR%%/github/tests/AllTests.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/AllTests.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/AuthenticatedUser.py
+%%PYTHON_SITELIBDIR%%/github/tests/AuthenticatedUser.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/AuthenticatedUser.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Authentication.py
+%%PYTHON_SITELIBDIR%%/github/tests/Authentication.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Authentication.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Authorization.py
+%%PYTHON_SITELIBDIR%%/github/tests/Authorization.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Authorization.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Branch.py
+%%PYTHON_SITELIBDIR%%/github/tests/Branch.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Branch.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Commit.py
+%%PYTHON_SITELIBDIR%%/github/tests/Commit.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Commit.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/CommitComment.py
+%%PYTHON_SITELIBDIR%%/github/tests/CommitComment.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/CommitComment.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/CommitStatus.py
+%%PYTHON_SITELIBDIR%%/github/tests/CommitStatus.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/CommitStatus.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/ContentFile.py
+%%PYTHON_SITELIBDIR%%/github/tests/ContentFile.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/ContentFile.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Download.py
+%%PYTHON_SITELIBDIR%%/github/tests/Download.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Download.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Enterprise.py
+%%PYTHON_SITELIBDIR%%/github/tests/Enterprise.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Enterprise.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Event.py
+%%PYTHON_SITELIBDIR%%/github/tests/Event.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Event.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Exceptions.py
+%%PYTHON_SITELIBDIR%%/github/tests/Exceptions.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Exceptions.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Framework.py
+%%PYTHON_SITELIBDIR%%/github/tests/Framework.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Framework.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Gist.py
+%%PYTHON_SITELIBDIR%%/github/tests/Gist.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Gist.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/GistComment.py
+%%PYTHON_SITELIBDIR%%/github/tests/GistComment.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/GistComment.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/GitBlob.py
+%%PYTHON_SITELIBDIR%%/github/tests/GitBlob.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/GitBlob.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/GitCommit.py
+%%PYTHON_SITELIBDIR%%/github/tests/GitCommit.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/GitCommit.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/GitRef.py
+%%PYTHON_SITELIBDIR%%/github/tests/GitRef.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/GitRef.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/GitTag.py
+%%PYTHON_SITELIBDIR%%/github/tests/GitTag.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/GitTag.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/GitTree.py
+%%PYTHON_SITELIBDIR%%/github/tests/GitTree.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/GitTree.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Github.py
+%%PYTHON_SITELIBDIR%%/github/tests/Github.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Github.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Hook.py
+%%PYTHON_SITELIBDIR%%/github/tests/Hook.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Hook.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/IntegrationTest.py
+%%PYTHON_SITELIBDIR%%/github/tests/IntegrationTest.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/IntegrationTest.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Issue.py
+%%PYTHON_SITELIBDIR%%/github/tests/Issue.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Issue.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Issue33.py
+%%PYTHON_SITELIBDIR%%/github/tests/Issue33.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Issue33.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Issue50.py
+%%PYTHON_SITELIBDIR%%/github/tests/Issue50.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Issue50.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Issue54.py
+%%PYTHON_SITELIBDIR%%/github/tests/Issue54.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Issue54.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Issue80.py
+%%PYTHON_SITELIBDIR%%/github/tests/Issue80.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Issue80.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Issue87.py
+%%PYTHON_SITELIBDIR%%/github/tests/Issue87.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Issue87.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/IssueComment.py
+%%PYTHON_SITELIBDIR%%/github/tests/IssueComment.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/IssueComment.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/IssueEvent.py
+%%PYTHON_SITELIBDIR%%/github/tests/IssueEvent.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/IssueEvent.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Label.py
+%%PYTHON_SITELIBDIR%%/github/tests/Label.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Label.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Logging.py
+%%PYTHON_SITELIBDIR%%/github/tests/Logging.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Logging.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Markdown.py
+%%PYTHON_SITELIBDIR%%/github/tests/Markdown.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Markdown.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Milestone.py
+%%PYTHON_SITELIBDIR%%/github/tests/Milestone.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Milestone.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/NamedUser.py
+%%PYTHON_SITELIBDIR%%/github/tests/NamedUser.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/NamedUser.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Organization.py
+%%PYTHON_SITELIBDIR%%/github/tests/Organization.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Organization.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/PaginatedList.py
+%%PYTHON_SITELIBDIR%%/github/tests/PaginatedList.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/PaginatedList.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/PullRequest.py
+%%PYTHON_SITELIBDIR%%/github/tests/PullRequest.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/PullRequest.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/PullRequestComment.py
+%%PYTHON_SITELIBDIR%%/github/tests/PullRequestComment.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/PullRequestComment.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/PullRequestFile.py
+%%PYTHON_SITELIBDIR%%/github/tests/PullRequestFile.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/PullRequestFile.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/RateLimiting.py
+%%PYTHON_SITELIBDIR%%/github/tests/RateLimiting.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/RateLimiting.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Repository.py
+%%PYTHON_SITELIBDIR%%/github/tests/Repository.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Repository.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/RepositoryKey.py
+%%PYTHON_SITELIBDIR%%/github/tests/RepositoryKey.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/RepositoryKey.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Tag.py
+%%PYTHON_SITELIBDIR%%/github/tests/Tag.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Tag.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/Team.py
+%%PYTHON_SITELIBDIR%%/github/tests/Team.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/Team.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/UserKey.py
+%%PYTHON_SITELIBDIR%%/github/tests/UserKey.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/UserKey.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/github/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/github/tests/__main__.py
+%%PYTHON_SITELIBDIR%%/github/tests/__main__.pyc
+%%PYTHON_SITELIBDIR%%/github/tests/__main__.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/github/tests
@dirrm %%PYTHON_SITELIBDIR%%/github