Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/cdist/files/, app-admin/cdist/
Date: Mon, 28 Dec 2020 15:50:17
Message-Id: 1609170595.3a72fa6bb7540e4dc64fa43f464c5a367433f31f.soap@gentoo
1 commit: 3a72fa6bb7540e4dc64fa43f464c5a367433f31f
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Mon Dec 28 15:49:55 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 15:49:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a72fa6b
7
8 app-admin/cdist: Bump to 6.9.3
9
10 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 app-admin/cdist/Manifest | 1 +
14 app-admin/cdist/cdist-6.9.3.ebuild | 29 ++++++++++++++++++
15 app-admin/cdist/files/cdist-6.9.3-tests.patch | 44 +++++++++++++++++++++++++++
16 3 files changed, 74 insertions(+)
17
18 diff --git a/app-admin/cdist/Manifest b/app-admin/cdist/Manifest
19 index 43073649cf5..9f91a60e262 100644
20 --- a/app-admin/cdist/Manifest
21 +++ b/app-admin/cdist/Manifest
22 @@ -1 +1,2 @@
23 DIST cdist-6.9.2.tar.gz 1358442 BLAKE2B c734e25e4ce32fcc1f8aef105d56e12a11906a9a031ce399d48a5f3c62ef05153e8fad231e8e2316fc860b66a10bc29a9ee42077947b00acc8ea7010ff41a0fe SHA512 7ff8274b1ac5fd4abac691991ab89613e39fd4170bd7580c1519b9a5ea7dac9ab933fd00a5b72306cc5c2307f4d24745cdd77ec9c21c02b3595796b8639019b1
24 +DIST cdist-6.9.3.tar.gz 1358492 BLAKE2B 04ec577629924b0a4356bfc44f0fbd3c7c8f0f15197b2fe8a62cde8e2089865a06c4d49366870be712bf0bc5d8f5c47f8c5ee3af602186ecef2c33e15af1b762 SHA512 3588cb7b98c78ff1671f1932474fd9c43e06ce075cfb0fa777903687f5ea84e7382da6014ea6230edad290de5175e3f000ea487831f1584b7efd4c97b8758dc2
25
26 diff --git a/app-admin/cdist/cdist-6.9.3.ebuild b/app-admin/cdist/cdist-6.9.3.ebuild
27 new file mode 100644
28 index 00000000000..7b119c0cb7b
29 --- /dev/null
30 +++ b/app-admin/cdist/cdist-6.9.3.ebuild
31 @@ -0,0 +1,29 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{6..9} )
38 +DISTUTILS_USE_SETUPTOOLS=no
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="A usable configuration management system"
43 +HOMEPAGE="https://www.cdi.st/ https://code.ungleich.ch/ungleich-public/cdist"
44 +SRC_URI="https://code.ungleich.ch/ungleich-public/cdist/-/archive/${PV}/cdist-${PV}.tar.gz"
45 +
46 +LICENSE="GPL-3+"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme
51 +distutils_enable_tests unittest
52 +
53 +# only required for py3.6 compatibility
54 +PATCHES=( "${FILESDIR}"/${P}-tests.patch )
55 +
56 +python_prepare_all() {
57 + echo "VERSION='${PV}'" > cdist/version.py || die
58 +
59 + distutils-r1_python_prepare_all
60 +}
61
62 diff --git a/app-admin/cdist/files/cdist-6.9.3-tests.patch b/app-admin/cdist/files/cdist-6.9.3-tests.patch
63 new file mode 100644
64 index 00000000000..df99b74d9b8
65 --- /dev/null
66 +++ b/app-admin/cdist/files/cdist-6.9.3-tests.patch
67 @@ -0,0 +1,44 @@
68 +--- a/cdist/preos.py
69 ++++ b/cdist/preos.py
70 +@@ -7,7 +7,7 @@ import cdist
71 + import logging
72 + import cdist.argparse
73 + import cdist.configuration
74 +-import cdist.exec.util as util
75 ++from cdist.exec import util
76 +
77 +
78 + _PREOS_CALL = "commandline"
79 +--- a/cdist/exec/local.py
80 ++++ b/cdist/exec/local.py
81 +@@ -34,7 +34,7 @@ import datetime
82 + import cdist
83 + import cdist.message
84 + from cdist import core
85 +-import cdist.exec.util as util
86 ++from cdist.exec import util
87 +
88 + CONF_SUBDIRS_LINKED = ["explorer", "files", "manifest", "type", ]
89 +
90 +--- a/cdist/exec/remote.py
91 ++++ b/cdist/exec/remote.py
92 +@@ -27,7 +27,7 @@ import logging
93 + import multiprocessing
94 +
95 + import cdist
96 +-import cdist.exec.util as util
97 ++from cdist.exec import util
98 + import cdist.util.ipaddr as ipaddr
99 + from cdist.mputil import mp_pool_run
100 +
101 +--- a/cdist/info.py
102 ++++ b/cdist/info.py
103 +@@ -22,7 +22,7 @@
104 + import cdist
105 + import cdist.configuration
106 + import cdist.core
107 +-import cdist.exec.util as util
108 ++from cdist.exec import util
109 + import os
110 + import glob
111 + import fnmatch