]> git.pld-linux.org Git - packages/pyp2rpm.git/blame - default-distro.patch
up to 1.1.2
[packages/pyp2rpm.git] / default-distro.patch
CommitLineData
52c0e66d
ER
1--- pyp2rpm-1.1.2/README.rst~ 2014-11-10 14:44:08.000000000 +0200
2+++ pyp2rpm-1.1.2/README.rst 2015-05-23 13:29:02.046296448 +0300
3@@ -37,8 +37,8 @@
4 -s PACKAGE_SOURCE Where to get package from ("pypi" or "/full/path/to/local/file", default: "pypi").
5 -d SAVE_DIR Where to save the package file (default: "~/rpmbuild")
6 -r RPM_NAME Name of rpm package (overrides calculated name)
7- -t TEMPLATE Template file (jinja2 format) to render (default: "fedora"). Search order is 1) filesystem, 2) default templates.
8- -o DISTRO Default distro whose conversion rules to use (default: "fedora"). Default templates have their rules associated and ignore this.
9+ -t TEMPLATE Template file (jinja2 format) to render (default: "pld"). Search order is 1) filesystem, 2) default templates.
10+ -o DISTRO Default distro whose conversion rules to use (default: "pld"). Default templates have their rules associated and ignore this.
11 -b BASE_PYTHON Base Python version to package for (default: "2").
12 -p PYTHON_VERSION Additional Python versions to include in the specfile (e.g -p3 for %{?with_python3}). Can be specified multiple times.
13 --srpm When used pyp2rpm will produce srpm instead of printing specfile into stdout.
71736564
ER
14--- pyp2rpm-1.0.1/./pyp2rpm/settings.py~ 2013-03-17 05:02:54.000000000 +0200
15+++ pyp2rpm-1.0.1/./pyp2rpm/settings.py 2013-03-17 12:04:45.524371795 +0200
16@@ -3,10 +3,10 @@
17 DEFAULT_PYTHON_VERSION = '2'
18 DEFAULT_PKG_SOURCE = 'pypi'
19 DEFAULT_METADATA_SOURCE = 'pypi'
20-DEFAULT_TEMPLATE = 'fedora'
21-DEFAULT_DISTRO = 'fedora'
22+DEFAULT_TEMPLATE = 'pld'
23+DEFAULT_DISTRO = 'pld'
24 DEFAULT_PKG_SAVE_PATH = os.path.expanduser('.')
25-KNOWN_DISTROS = ['fedora', 'mageia']
26+KNOWN_DISTROS = ['pld','fedora', 'mageia']
27 ARCHIVE_SUFFIXES = ['.tar', '.tgz', '.tar.gz', '.tar.bz2', '.gz', '.bz2', '.zip', '.egg']
28 EXTENSION_SUFFIXES = ['.c', '.cpp']
29 DOC_FILES_RE = [r'readme.+', r'licens.+', r'copying.+']
This page took 0.080216 seconds and 4 git commands to generate.