[Bug 226290] [NEW PORT] devel/py-python-gitlab: Python package providing access to the GitLab server API

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 3 02:02:58 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226290

--- Comment #4 from dereks at lifeofadishwasher.com ---
(In reply to Kubilay Kocak from comment #2)

- Locally I've switched CHEESESHOP from GitHub.

- setup.py:description/short_description does this include pkg-descr?

- TEST_DEPENDS will be a little harder since most of test requirements are not
in the ports tree.  They seem straight forward python ports though.  I'll work
on those this weekend.

- I believe I have this building properly with poudriere now such that only 2.7
is symlinked and all other flavors don't produce conflicting file names:

$ ls -l /usr/local/bin/gitlab*
lrwxr-xr-x  1 root  wheel   10 Mar  2 19:33 /usr/local/bin/gitlab@ ->
gitlab-2.7
-rwxr-xr-x  1 root  wheel  406 Mar  2 19:33 /usr/local/bin/gitlab-2.7*
-rwxr-xr-x  1 root  wheel  406 Mar  2 19:43 /usr/local/bin/gitlab-3.6*

$ pkg info -x python-gitlab
py27-python-gitlab-1.3.0
py36-python-gitlab-1.3.0


$ gitlab project list
...
$ gitlab-2.7 project list
...
$ gitlab-3.6 project list
...

All produce the expected output.

However, what I haven't figured out is how to get this to build with poudriere
and the other two versions of python (3.4 and 3.5) without DEFAULT_VERSIONS. 
Using DEFAULT_VERSION will result in a package that symlinks scripts which
isn't what I want when testing.

- Based off Python/PortsPolicy should the small post-patch: on gitlab/config.py
be upstreamed such that upstream should use a different location based off base
install location?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list