| Commit message (Collapse) | Author | Age |
|
|
|
| |
This makes sure it ends up in the sdist tarball.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when installed with "pip install gbp" it will be installed as version "0.0"
because the released version doesn't have a debian/changelog file, so it will
be installed with a warning:
balabit-bbos-tools 1.0.0 has requirement gbp==0.9.8, but you'll have gbp 0.0 which is incompatible.
and will cause an Exception when using gbp from a setuptools entrypoint script:
File "/home/walkman/stew/projects/platform/source/balabit-os-tools/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 574, in _build_master
ws.require(__requires__)
File "/home/walkman/stew/projects/platform/source/balabit-os-tools/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 892, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/walkman/stew/projects/platform/source/balabit-os-tools/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (gbp 0.0 (/home/walkman/stew/projects/platform/source/balabit-os-tools/.venv/lib/python3.6/site-packages), Requirement.parse('gbp==0.9.8'), {'requiresgbp'})
This is because pkg_resources checks every dependency version and if it doesn't
match with the egg-info, it raises this Exception.
Instead, we try to parse the debian/changelog first, then load the version, or
if the debian/changelog file doesn't exists (this is the case at pip install)
we read the gbp/version.py and parse the version from it.
There is a "round trip check", which means the parsed version is written, then
it will be read back immediately to see if there is any problem.
|
|
|
|
|
|
| |
so pip doesn't use the gbp module for python2
Thanks: Nico Schlömer for the proposed solution
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
since that's the name of the module
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
since it breaks setup.py with
Traceback (most recent call last):
File "setup.py", line 79, in <module>
'console_scripts': ['gbp=gbp.scripts.supercommand:supercommand'],
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 320, in __init__
_Distribution.__init__(self, attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 259, in __init__
getattr(self.metadata, "set_" + key)(val)
File "/usr/lib/python2.7/distutils/dist.py", line 1220, in set_requires
distutils.versionpredicate.VersionPredicate(v)
File "/usr/lib/python2.7/distutils/versionpredicate.py", line 113, in __init__
raise ValueError("expected parenthesized list: %r" % paren)
ValueError: expected parenthesized list: '-dateutil'
This reverts commit d05dfea469e71f4fa13619f69639b83a105cea34.
|
|
|
|
|
|
|
|
|
|
| |
We import dateutil, but we only declare this dependency within the
debian packaging and RPM packaging.
Add the dependency to Python's setuptools packaging as well. This allows
git-buildpackage to install seamlessly within a Python virtualenv.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
|
|
| |
to make pip install --user work
|
|
|
|
| |
from the list at https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
|
|
| |
to get Markdown formatting
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Try:
gbp buildpackage-rpm --git-mock --git-dist=epel-6
Results will be under ../rpmbuild/results/
This is very heavily based on a patch from Tzafrir Cohen.
|
|
|
|
| |
to make Python3 happy
|
|
|
|
| |
use gnu.org/licences instead of a postal address, as suggested by Guido
|
|
|
|
|
|
| |
to work towards Python3 support
Gbp-Dch: Ignore
|
|
|
|
| |
as announced in the deprecation notice from June 2013.
|
| |
|
|
|
|
| |
since the later doesn't exist in python3
|
| |
|
|
|
|
| |
and robustify against invalid modules names.
|
|
|
|
|
| |
So like git you can now use gbp <command> instead of git-<command> or
gbp-<command>. The manpages and docs aren't adjusted yet.
|
|
|
|
|
| |
for cobertura style coverage information that can be picked up
by e.g. Jenkins
|
|
|
|
|
|
|
| |
Makes it possible to not require test requirements by defining
WITHOUT_NOSETESTS environment variable when running setup.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
| |
Makes it possible to reuse code between various tests.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
| |
the versions in Squeeze are recent enough.
|
| |
|
| |
|
|
|
|
| |
This allows us to build on non Debian systems with setup.py only.
|
| |
|
|
|
|
| |
by moving the commands to gbp/scripts/
|
|
|
|
| |
Add manpage, move into path, add bash completion
|
|
|
|
|
| |
Thanks: Russ Allbery
Closes: #583078
|
|
|
|
| |
by moving them from examples/ to /usr/bin/
|
|
|
|
|
| |
to import mutiple dscs in one go
Closes: #471580
|
| |
|
|
|
|
| |
Furthermore pass '-v' in git import-orig on to git_load_dirs
|
| |
|
|
|
|
| |
uncommitted changes
|
| |
|
| |
|
| |
|
|
|