New upstream release.

This commit is contained in:
Debian Janitor 2021-06-02 15:12:48 +00:00
commit 887e6542a0
13 changed files with 119 additions and 9 deletions

17
PKG-INFO Normal file
View file

@ -0,0 +1,17 @@
Metadata-Version: 2.1
Name: ognibuild
Version: 0.0.7
Summary: Detect and run any build system
Home-page: https://jelmer.uk/code/ognibuild
Maintainer: Jelmer Vernooij
Maintainer-email: jelmer@jelmer.uk
License: GNU GPLv2 or later
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Operating System :: POSIX
Provides-Extra: debian

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
ognibuild (0.0.7-1) UNRELEASED; urgency=low
* New upstream release.
-- Debian Janitor <janitor@jelmer.uk> Wed, 02 Jun 2021 15:12:48 -0000
ognibuild (0.0.6+git20210517.1.8189e91-1) unstable; urgency=low
* New upstream snapshot.

View file

@ -0,0 +1,17 @@
Metadata-Version: 2.1
Name: ognibuild
Version: 0.0.7
Summary: Detect and run any build system
Home-page: https://jelmer.uk/code/ognibuild
Maintainer: Jelmer Vernooij
Maintainer-email: jelmer@jelmer.uk
License: GNU GPLv2 or later
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Operating System :: POSIX
Provides-Extra: debian

View file

@ -0,0 +1,52 @@
.flake8
.gitignore
AUTHORS
CODE_OF_CONDUCT.md
LICENSE
README.md
SECURITY.md
TODO
releaser.conf
setup.cfg
setup.py
.github/workflows/pythonpackage.yml
notes/architecture.md
notes/concepts.md
notes/roadmap.md
ognibuild/__init__.py
ognibuild/__main__.py
ognibuild/build.py
ognibuild/buildlog.py
ognibuild/buildsystem.py
ognibuild/clean.py
ognibuild/dist.py
ognibuild/dist_catcher.py
ognibuild/fix_build.py
ognibuild/fixers.py
ognibuild/info.py
ognibuild/install.py
ognibuild/outputs.py
ognibuild/requirements.py
ognibuild/test.py
ognibuild/vcs.py
ognibuild.egg-info/PKG-INFO
ognibuild.egg-info/SOURCES.txt
ognibuild.egg-info/dependency_links.txt
ognibuild.egg-info/entry_points.txt
ognibuild.egg-info/requires.txt
ognibuild.egg-info/top_level.txt
ognibuild/debian/__init__.py
ognibuild/debian/apt.py
ognibuild/debian/build.py
ognibuild/debian/build_deps.py
ognibuild/debian/file_search.py
ognibuild/debian/fix_build.py
ognibuild/debian/udd.py
ognibuild/resolver/__init__.py
ognibuild/resolver/apt.py
ognibuild/session/__init__.py
ognibuild/session/plain.py
ognibuild/session/schroot.py
ognibuild/tests/__init__.py
ognibuild/tests/test_debian_build.py
ognibuild/tests/test_debian_fix_build.py

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,4 @@
[console_scripts]
deb-fix-build = ognibuild.debian.fix_build:main
ogni = ognibuild.__main__:main

View file

@ -0,0 +1,8 @@
breezy
buildlog-consultant>=0.0.10
requirements-parser
[debian]
debmutate
python_apt
python_debian

View file

@ -0,0 +1 @@
ognibuild

View file

@ -20,7 +20,7 @@ import os
import stat
__version__ = (0, 0, 6)
__version__ = (0, 0, 7)
USER_AGENT = "Ognibuild"

View file

@ -157,7 +157,7 @@ def add_dummy_changelog_entry(
editor[0].distributions = suite
def get_latest_changelog_version(local_tree, subpath=""):
def get_latest_changelog_entry(local_tree, subpath=""):
if control_files_in_root(local_tree, subpath):
path = os.path.join(subpath, "changelog")
else:
@ -246,11 +246,11 @@ def build_once(
retcode, shlex.split(build_command),
[], sbuild_failure.description)
(cl_package, cl_version) = get_latest_changelog_version(local_tree, subpath)
cl_entry = get_latest_changelog_entry(local_tree, subpath)
changes_names = []
for kind, entry in find_changes_files(output_directory, cl_package, cl_version):
for kind, entry in find_changes_files(output_directory, cl_entry.package, cl_entry.version):
changes_names.append((entry.name))
return (changes_names, cl_version)
return (changes_names, cl_entry)
def gbp_dch(path):

View file

@ -681,7 +681,7 @@ def main(argv=None):
apt = AptManager(session)
try:
(changes_filenames, cl_version) = build_incrementally(
(changes_filenames, cl_entry) = build_incrementally(
tree,
apt,
args.suffix,
@ -714,7 +714,7 @@ def main(argv=None):
logging.info(
'Built %s - changes file at %r.',
cl_version, changes_filenames)
cl_entry.version, changes_filenames)
if __name__ == "__main__":

View file

@ -2,8 +2,12 @@
banned-modules = silver-platter = Should not use silver-platter
[mypy]
# A number of ognibuilds' dependencies don't have type hints yet
ignore_missing_imports = True
[bdist_wheel]
universal = 1
[egg_info]
tag_build =
tag_date = 0

View file

@ -6,7 +6,7 @@ from setuptools import setup
setup(name="ognibuild",
description="Detect and run any build system",
version="0.0.6",
version="0.0.7",
maintainer="Jelmer Vernooij",
maintainer_email="jelmer@jelmer.uk",
license="GNU GPLv2 or later",