pkgsrc-WIP-changes archive

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

git-spindle: Import git-spindle-3.4.2 as wip/git-spindle



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Dec 31 23:26:57 2017 +0100
Changeset:	8245074e117258f28cf9c70e957bd1115a7b02ba

Modified Files:
	Makefile
Added Files:
	git-spindle/DESCR
	git-spindle/Makefile
	git-spindle/PLIST
	git-spindle/distinfo
	git-spindle/patches/patch-lib_gitspindle_github.py

Log Message:
git-spindle: Import git-spindle-3.4.2 as wip/git-spindle

Many central git hosting services, such as BitBucket, GitHub and GitLab,
provide an API to perform actions such as creating repositories and
filing pull requests.

git-spindle is a collection of git subcommands to make using these services
easier.

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

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

diffstat:
 Makefile                                           |  1 +
 git-spindle/DESCR                                  |  6 ++++
 git-spindle/Makefile                               | 20 ++++++++++++
 git-spindle/PLIST                                  | 38 ++++++++++++++++++++++
 git-spindle/distinfo                               |  7 ++++
 git-spindle/patches/patch-lib_gitspindle_github.py | 20 ++++++++++++
 6 files changed, 92 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 59cac832be..0e575397dd 100644
--- a/Makefile
+++ b/Makefile
@@ -956,6 +956,7 @@ SUBDIR+=	gimp-dds
 SUBDIR+=	gin
 SUBDIR+=	git-docs-html
 SUBDIR+=	git-modes-git
+SUBDIR+=	git-spindle
 SUBDIR+=	gitg
 SUBDIR+=	gitlab
 SUBDIR+=	gitless
diff --git a/git-spindle/DESCR b/git-spindle/DESCR
new file mode 100644
index 0000000000..49895134fb
--- /dev/null
+++ b/git-spindle/DESCR
@@ -0,0 +1,6 @@
+Many central git hosting services, such as BitBucket, GitHub and GitLab,
+provide an API to perform actions such as creating repositories and
+filing pull requests.
+
+git-spindle is a collection of git subcommands to make using these services
+easier.
diff --git a/git-spindle/Makefile b/git-spindle/Makefile
new file mode 100644
index 0000000000..30199f9a4b
--- /dev/null
+++ b/git-spindle/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	git-spindle-3.4.2
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=g/git-spindle/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://seveas.github.io/git-spindle
+COMMENT=	Command-line interface to GitHub and other central git services
+LICENSE=	gnu-gpl-v3
+
+DEPENDS+=	${PYPKGPREFIX}-docopt>=0.5.0:../../devel/py-docopt
+DEPENDS+=	${PYPKGPREFIX}-github3.py>=0.9.0:../../wip/py-github3.py
+DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+=	${PYPKGPREFIX}-whelk>=2.6:../../wip/py-whelk
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/git-spindle/PLIST b/git-spindle/PLIST
new file mode 100644
index 0000000000..ad4432bd2a
--- /dev/null
+++ b/git-spindle/PLIST
@@ -0,0 +1,38 @@
+@comment $NetBSD$
+bin/git-bb
+bin/git-bucket
+bin/git-hub
+bin/git-lab
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/gitspindle/__init__.py
+${PYSITELIB}/gitspindle/__init__.pyc
+${PYSITELIB}/gitspindle/__init__.pyo
+${PYSITELIB}/gitspindle/ansi.py
+${PYSITELIB}/gitspindle/ansi.pyc
+${PYSITELIB}/gitspindle/ansi.pyo
+${PYSITELIB}/gitspindle/bbapi.py
+${PYSITELIB}/gitspindle/bbapi.pyc
+${PYSITELIB}/gitspindle/bbapi.pyo
+${PYSITELIB}/gitspindle/bitbucket.py
+${PYSITELIB}/gitspindle/bitbucket.pyc
+${PYSITELIB}/gitspindle/bitbucket.pyo
+${PYSITELIB}/gitspindle/github.py
+${PYSITELIB}/gitspindle/github.pyc
+${PYSITELIB}/gitspindle/github.pyo
+${PYSITELIB}/gitspindle/gitlab.py
+${PYSITELIB}/gitspindle/gitlab.pyc
+${PYSITELIB}/gitspindle/gitlab.pyo
+${PYSITELIB}/gitspindle/glapi.py
+${PYSITELIB}/gitspindle/glapi.pyc
+${PYSITELIB}/gitspindle/glapi.pyo
+${PYSITELIB}/gitspindle/monkey.py
+${PYSITELIB}/gitspindle/monkey.pyc
+${PYSITELIB}/gitspindle/monkey.pyo
+${PYSITELIB}/gitspindle/public_suffix.py
+${PYSITELIB}/gitspindle/public_suffix.pyc
+${PYSITELIB}/gitspindle/public_suffix.pyo
diff --git a/git-spindle/distinfo b/git-spindle/distinfo
new file mode 100644
index 0000000000..ca9eed2b89
--- /dev/null
+++ b/git-spindle/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (git-spindle-3.4.2.tar.gz) = 5f9748aa3e527c9ea1685f5289f3c20b6f979159
+RMD160 (git-spindle-3.4.2.tar.gz) = 5927c465bf38faed023a38395e37969d049990c4
+SHA512 (git-spindle-3.4.2.tar.gz) = bff36588dd68bde7fbed42a34f1e383061b63cd36bb08aa6384ed624df1fdda3b7c309bfd13017f5e3dac0267e582d2ad3f879a08daa9349f770df0ccff7d9bc
+Size (git-spindle-3.4.2.tar.gz) = 1870475 bytes
+SHA1 (patch-lib_gitspindle_github.py) = 5f17e46025241e31c3991204f00a8e26e9ae3df7
diff --git a/git-spindle/patches/patch-lib_gitspindle_github.py b/git-spindle/patches/patch-lib_gitspindle_github.py
new file mode 100644
index 0000000000..049688993f
--- /dev/null
+++ b/git-spindle/patches/patch-lib_gitspindle_github.py
@@ -0,0 +1,20 @@
+$NetBSD$
+
+Avoid a:
+
+ TypeError: user() takes exactly 2 arguments (1 given)
+
+Both github3.GitHub.user() and github3.GitHubEnterprise.user() functions need
+the `username' argument.
+
+--- lib/gitspindle/github.py.orig	2017-12-21 19:05:09.000000000 +0000
++++ lib/gitspindle/github.py
+@@ -84,7 +84,7 @@ class GitHub(GitSpindle):
+             err("No user or token specified")
+         self.gh.login(username=user, token=token)
+         try:
+-            self.me = self.gh.user()
++            self.me = self.gh.user(user)
+             self.my_login = self.me.login
+         except github3.GitHubError:
+             # Token obsolete


Home | Main Index | Thread Index | Old Index