Package Details: python-gogs-client 1.0.6-3

Git Clone URL: https://aur.archlinux.org/python-gogs-client.git (read-only)
Package Base: python-gogs-client
Description: Python client for Gogs server
Upstream URL: https://github.com/unfoldingWord-dev/python-gogs-client
Licenses: MIT
Conflicts: python-gogs-client
Provides: python-gogs-client
Submitter: mracos
Maintainer: mracos
Last Packager: mracos
Votes: 0
Popularity: 0.000000
First Submitted: 2017-05-06 23:10
Last Updated: 2019-03-19 13:27

Latest Comments

mracos commented on 2019-03-19 13:35

@SpotlightKid your solution worked! I already updated the PKGBUILD.

Thanks @sirl1on and @SpotlightKid <3

SpotlightKid commented on 2019-03-10 20:21

Ran into the error mentioned by @sirl1on as well. Fixed it by changing the last line in the package function to these two:

local pyver=$(python -c 'import sys; print("{0}.{1}".format(*sys.version_info))')
rm -f "${pkgdir}/usr/lib/python${pyver}/site-packages/tests/__init__.py"

sirl1on commented on 2019-01-16 14:13

supposedly due to a new python version, the last package action (deleting the test) fails.

Quick fix is to change the python version in the PKGBUILD from 3.6 to 3.7 (or whatever is current).

Proper fix surely would be to dynamically infer the correct python version or use a wildcard shell expression.

mracos commented on 2018-05-28 01:19

done!

WhyNotHugo commented on 2018-05-27 06:47

The easiest way would probably be to simply delete $pkgdir/usr/lib/python3.6/site-packages/tests/__init__.py as the last step in package().

That would result in the end package not including the file.

This has been reported upstream, FWIW.

mracos commented on 2018-05-27 06:23

And again, how do i do that? There is and option in the PKGBUILD manifest?

WhyNotHugo commented on 2018-05-23 19:31

That file should simply not be installed. It's that simple :)

mracos commented on 2018-05-23 19:20

You know how to solve it? If not I'll look into it later :)

WhyNotHugo commented on 2018-05-23 00:29

Including the file /usr/lib/python3.6/site-packages/tests/__init__.py breaks tests as a python namespace package1, and makes tests fail for other python packages.

This file should not be included.