git-deps/dont-use-st-markdown.patch
Matěj Cepl 031f5590d6
Some checks failed
obs/scm/build
Update to version 1.1.0+git.1696898573.89d51e8:
* Only use pygit2's blame via opt-in
  * Blame via pygit2 instead of subprocess
  * Fix deps fetching on the root commit
  * Start test suite of running git-deps on itself
  * Remove dependency to six. Closes #115
  * Remove Travis config
  * Upgrade setuptools
  * Create CI.yml
  * Import `safe_join` from `werkzeug.security`
  * Drop support for Python 3.6
  * Drop setuptools-markdown
  * Handle server port in use error more gracefully (#88)
  * Fix publishing procedure
  * Expand AUTHORS.rst
  * Remove sphinx.ext.pngmath
  * Add maintainer-guide to the docs
  * Be stricter with docs
  * Update sphinx docs location
  * Update CHANGES.rst
  * Add flake8 to Travis
  * Fix some flake8 issues
  * Don't totally ignore KeyboardInterrupt
  * Improve HTML installation instructions slightly
  * Update INSTALL.md for Python 3.x (#98)
  * Update tox.ini for newer Pythons
  * Fix Travis builds (#73)
  * Use line-buffering on output (#87)
  * Bump jquery from 3.0.0 to 3.5.0 in /git_deps/html
Remove upstreamed patches:
  - Fix-issue-with-unbuffered-text-I-O-under-python3.patch
Add compatibility patches:
  - no-pkg-resources.patch
  - pygit2-1.15.0.patch (from gh#aspiers/git-deps!129)
Update to version 1.1.0+git.1655802074.8cafb5c:
  * Import `safe_join` from `werkzeug.security`
  * Drop support for Python 3.6
  * Drop setuptools-markdown
  * Handle server port in use error more gracefully (#88)
  * Fix publishing procedure
  * Expand AUTHORS.rst
  * Remove sphinx.ext.pngmath
  * Add maintainer-guide to the docs
  * Be stricter with docs
  * Update sphinx docs location
  * Update CHANGES.rst
  * Add flake8 to Travis
  * Fix some flake8 issues
  * Don't totally ignore KeyboardInterrupt
  * Improve HTML installation instructions slightly
  * Update INSTALL.md for Python 3.x (#98)
  * Update tox.ini for newer Pythons
  * Fix Travis builds (#73)
  * Use line-buffering on output (#87)
  * Bump jquery from 3.0.0 to 3.5.0 in /git_deps/html
Remove upstreamed Fix-issue-with-unbuffered-text-I-O-under-python3.patch
Switch package to be managed by SCM.
2024-07-19 12:35:11 +02:00

83 lines
1.9 KiB
Diff

---
setup.cfg | 6 ++++--
setup.py | 25 +------------------------
tests/create-repo.sh | 1 -
3 files changed, 5 insertions(+), 27 deletions(-)
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,11 +1,13 @@
[metadata]
name = git-deps
+version = 1.1.0
summary = automatically detect dependencies between git commits
author = Adam Spiers
author_email = git@adamspiers.org
license = GPL-2+
home_page = https://github.com/aspiers/git-deps
-description_file = README.md
+long_description = file: README.md
+long_description_content_type = text/markdown
classifier =
Development Status :: 4 - Beta
Environment :: Console
@@ -33,6 +35,7 @@ data_files =
[options]
packages =
git_deps
+requires = Sphinx
[options.entry_points]
console_scripts =
@@ -48,7 +51,6 @@ addopts = tests
# e.g. --cov-report html (or xml) for html/xml output or --junitxml junit.xml
# in order to write a coverage file that can be read by Jenkins.
addopts =
- --cov git_deps --cov-report term-missing
--verbose
[aliases]
--- a/setup.py
+++ b/setup.py
@@ -1,29 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-"""
- Setup file for git_deps.
-
- This file was generated with PyScaffold, a tool that easily
- puts up a scaffold for your new Python project. Learn more under:
- http://pyscaffold.readthedocs.org/
-"""
-
-import sys
from setuptools import setup
-def setup_package():
- needs_sphinx = {'build_sphinx', 'upload_docs'}.intersection(sys.argv)
- sphinx = ['sphinx'] if needs_sphinx else []
- setup(
- setup_requires=[
- 'pyscaffold',
- ] + sphinx,
- long_description='README.md',
- long_description_content_type="text/markdown",
- use_pyscaffold=True
- )
-
-
-if __name__ == "__main__":
- setup_package()
+setup()
--- a/tests/create-repo.sh
+++ b/tests/create-repo.sh
@@ -10,7 +10,6 @@ two
three
four
five
-six
seven
eight
nine