Import upstream version 0.0.7
This commit is contained in:
commit
1f71d98c6e
12 changed files with 113 additions and 9 deletions
17
PKG-INFO
Normal file
17
PKG-INFO
Normal 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
|
17
ognibuild.egg-info/PKG-INFO
Normal file
17
ognibuild.egg-info/PKG-INFO
Normal 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
|
52
ognibuild.egg-info/SOURCES.txt
Normal file
52
ognibuild.egg-info/SOURCES.txt
Normal 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
|
1
ognibuild.egg-info/dependency_links.txt
Normal file
1
ognibuild.egg-info/dependency_links.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
4
ognibuild.egg-info/entry_points.txt
Normal file
4
ognibuild.egg-info/entry_points.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[console_scripts]
|
||||||
|
deb-fix-build = ognibuild.debian.fix_build:main
|
||||||
|
ogni = ognibuild.__main__:main
|
||||||
|
|
8
ognibuild.egg-info/requires.txt
Normal file
8
ognibuild.egg-info/requires.txt
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
breezy
|
||||||
|
buildlog-consultant>=0.0.10
|
||||||
|
requirements-parser
|
||||||
|
|
||||||
|
[debian]
|
||||||
|
debmutate
|
||||||
|
python_apt
|
||||||
|
python_debian
|
1
ognibuild.egg-info/top_level.txt
Normal file
1
ognibuild.egg-info/top_level.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ognibuild
|
|
@ -20,7 +20,7 @@ import os
|
||||||
import stat
|
import stat
|
||||||
|
|
||||||
|
|
||||||
__version__ = (0, 0, 6)
|
__version__ = (0, 0, 7)
|
||||||
|
|
||||||
|
|
||||||
USER_AGENT = "Ognibuild"
|
USER_AGENT = "Ognibuild"
|
||||||
|
|
|
@ -157,7 +157,7 @@ def add_dummy_changelog_entry(
|
||||||
editor[0].distributions = suite
|
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):
|
if control_files_in_root(local_tree, subpath):
|
||||||
path = os.path.join(subpath, "changelog")
|
path = os.path.join(subpath, "changelog")
|
||||||
else:
|
else:
|
||||||
|
@ -246,11 +246,11 @@ def build_once(
|
||||||
retcode, shlex.split(build_command),
|
retcode, shlex.split(build_command),
|
||||||
[], sbuild_failure.description)
|
[], 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 = []
|
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))
|
changes_names.append((entry.name))
|
||||||
return (changes_names, cl_version)
|
return (changes_names, cl_entry)
|
||||||
|
|
||||||
|
|
||||||
def gbp_dch(path):
|
def gbp_dch(path):
|
||||||
|
|
|
@ -681,7 +681,7 @@ def main(argv=None):
|
||||||
apt = AptManager(session)
|
apt = AptManager(session)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
(changes_filenames, cl_version) = build_incrementally(
|
(changes_filenames, cl_entry) = build_incrementally(
|
||||||
tree,
|
tree,
|
||||||
apt,
|
apt,
|
||||||
args.suffix,
|
args.suffix,
|
||||||
|
@ -714,7 +714,7 @@ def main(argv=None):
|
||||||
|
|
||||||
logging.info(
|
logging.info(
|
||||||
'Built %s - changes file at %r.',
|
'Built %s - changes file at %r.',
|
||||||
cl_version, changes_filenames)
|
cl_entry.version, changes_filenames)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
@ -2,8 +2,12 @@
|
||||||
banned-modules = silver-platter = Should not use silver-platter
|
banned-modules = silver-platter = Should not use silver-platter
|
||||||
|
|
||||||
[mypy]
|
[mypy]
|
||||||
# A number of ognibuilds' dependencies don't have type hints yet
|
|
||||||
ignore_missing_imports = True
|
ignore_missing_imports = True
|
||||||
|
|
||||||
[bdist_wheel]
|
[bdist_wheel]
|
||||||
universal = 1
|
universal = 1
|
||||||
|
|
||||||
|
[egg_info]
|
||||||
|
tag_build =
|
||||||
|
tag_date = 0
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -6,7 +6,7 @@ from setuptools import setup
|
||||||
|
|
||||||
setup(name="ognibuild",
|
setup(name="ognibuild",
|
||||||
description="Detect and run any build system",
|
description="Detect and run any build system",
|
||||||
version="0.0.6",
|
version="0.0.7",
|
||||||
maintainer="Jelmer Vernooij",
|
maintainer="Jelmer Vernooij",
|
||||||
maintainer_email="jelmer@jelmer.uk",
|
maintainer_email="jelmer@jelmer.uk",
|
||||||
license="GNU GPLv2 or later",
|
license="GNU GPLv2 or later",
|
||||||
|
|
Loading…
Add table
Reference in a new issue