python3-gitchangelog: specify all python3 hostmakedepends
This commit is contained in:
parent
d6ff6e59f1
commit
5f500c3e73
3 changed files with 52 additions and 3 deletions
25
srcpkgs/python3-gitchangelog/patches/setup.cfg.patch
Normal file
25
srcpkgs/python3-gitchangelog/patches/setup.cfg.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
Make sure that setuptools_scm actually installs the module and entrypoint.
|
||||||
|
|
||||||
|
--- setup.cfg 2021-01-28 10:10:54.291152917 -0500
|
||||||
|
+++ setup.cfg 2021-01-28 10:13:12.191007896 -0500
|
||||||
|
@@ -61,3 +61,20 @@
|
||||||
|
tag_date = 0
|
||||||
|
tag_svn_revision = 0
|
||||||
|
|
||||||
|
+[options]
|
||||||
|
+packages =
|
||||||
|
+ gitchangelog
|
||||||
|
+package_dir =
|
||||||
|
+ =src
|
||||||
|
+setup_requires =
|
||||||
|
+ setuptools
|
||||||
|
+ setuptools-scm
|
||||||
|
+
|
||||||
|
+[options.entry_points]
|
||||||
|
+console_scripts =
|
||||||
|
+ gitchangelog = gitchangelog.gitchangelog:main
|
||||||
|
+
|
||||||
|
+[options.package_data]
|
||||||
|
+gitchangelog =
|
||||||
|
+ gitchangelog.rc.*
|
||||||
|
+ templates/**/*
|
25
srcpkgs/python3-gitchangelog/patches/setup.py.patch
Normal file
25
srcpkgs/python3-gitchangelog/patches/setup.py.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
The d2to1 package is defunct and not offered by Void; roughly equivalent
|
||||||
|
functionality is provided by setuptools_scm, which is provided by Void. Drop
|
||||||
|
the special d2to1 setup call to allow setuptools_scm to work properly.
|
||||||
|
|
||||||
|
--- setup.py 2021-01-28 10:00:20.165871918 -0500
|
||||||
|
+++ setup.py 2021-01-28 10:01:07.760817952 -0500
|
||||||
|
@@ -58,17 +58,4 @@
|
||||||
|
## Normal d2to1 setup
|
||||||
|
##
|
||||||
|
|
||||||
|
-setup(
|
||||||
|
- setup_requires=['d2to1'],
|
||||||
|
- extras_require={
|
||||||
|
- 'Mustache': ["pystache", ],
|
||||||
|
- 'Mako': ["mako", ],
|
||||||
|
- 'test': [
|
||||||
|
- "nose",
|
||||||
|
- "minimock",
|
||||||
|
- "mako",
|
||||||
|
- "pystache",
|
||||||
|
- ],
|
||||||
|
- },
|
||||||
|
- d2to1=True
|
||||||
|
-)
|
||||||
|
+setup(use_scm_version=True)
|
|
@ -1,11 +1,10 @@
|
||||||
# Template file for 'python3-gitchangelog'
|
# Template file for 'python3-gitchangelog'
|
||||||
pkgname=python3-gitchangelog
|
pkgname=python3-gitchangelog
|
||||||
version=3.0.4
|
version=3.0.4
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc="gitchangelog-${version}"
|
wrksrc="gitchangelog-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="gitchangelog"
|
hostmakedepends="python3-setuptools_scm"
|
||||||
hostmakedepends="python3-setuptools git"
|
|
||||||
depends="python3-pystache python3-Mako"
|
depends="python3-pystache python3-Mako"
|
||||||
short_desc="Creates a changelog from git log history"
|
short_desc="Creates a changelog from git log history"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
|
Loading…
Reference in a new issue