Commit Graph

71 Commits

Author SHA1 Message Date
Randy Barlow
7483dd1517 Drop a commented BR on beaker
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2020-01-14 21:43:13 +00:00
Randy Barlow
4b21a6f7db Fix FTBFS with pytest-5 by dropping a BR on nose
Mako does not use nose, but if nose is installed in the BR, a
series of imports is triggered during the test run that causes an
Exception. Thus, this commit drops the unused build requirement.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2020-01-07 15:24:09 -05:00
Miro Hrončok
5f74222a24 Subpackage python2-mako has been removed
Also:

 - remove manual requires
 - make the documentation only Suggest the implementation
2019-11-15 11:28:18 +01:00
Miro Hrončok
2d7238ab2e Modernize executable names
Rename the Python-versioned executables not to start with "python"
  (if you have python3-mako installed and you type python[tab], it gets in the way)

Make mako-render Python 3 on Fedora 32+
  See https://fedoraproject.org/wiki/Changes/Python_means_Python3
  (arguably, this is correct for F31 as well, but the timing is not good for that)
2019-10-11 14:48:35 +02:00
Randy Barlow
196ec709eb Update to 1.1.0 (#1725969)
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-09-03 13:59:26 -04:00
Miro Hrončok
0665975fac Rebuilt for Python 3.8 2019-08-18 23:50:18 +02:00
Miro Hrončok
8b3c39e788 Rebuilt for Python 3.8 2019-08-15 19:15:57 +02:00
Fedora Release Engineering
28773d1474 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 14:25:58 +00:00
Randy Barlow
dd15afd7e6 Update to 1.0.12 (#1717730)
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-06-11 16:35:18 -04:00
Miro Hrončok
ffc7e7b103 Update to 1.0.9 (#1698191, #1700055) 2019-04-17 13:13:51 -04:00
Randy Barlow
c5707fb743 Trim changelog entries prior to 2018.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-04-17 12:57:00 -04:00
Miro Hrončok
2c575d675d Update to 1.0.8 (#1470902, #1690902) 2019-03-20 18:34:24 +01:00
Miro Hrončok
73b4040479 Update to 1.0.7 (#1470902) 2019-03-20 18:33:40 +01:00
Fedora Release Engineering
3fd6360cac - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 07:39:57 +00:00
Igor Gnatenko
821d6233d8 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:41 +01:00
Fedora Release Engineering
f462720799 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 00:53:59 +00:00
Miro Hrončok
00a7ee74d5 Rebuilt for Python 3.7 2018-06-15 12:49:18 +02:00
Miro Hrončok
43a435ed42 Comment out beaker from BR
beaker is optional, unmaintained in Fedora and doesn't work with Python 3.7

See:

 - https://bugzilla.redhat.com/show_bug.cgi?id=860617
 - https://bugzilla.redhat.com/show_bug.cgi?id=1578323
 - https://bugzilla.redhat.com/show_bug.cgi?id=1589081
2018-06-08 15:05:19 +02:00
Charalampos Stratakis
5402525c70 Conditionalize the python2 docs dependency. 2018-04-12 15:45:39 +02:00
Petr Viktorin
33ca828644 Modernize the specfile
- Use %bcond, which can be overridden when building manually
- Don't use obsolete features: %{py3dir}, clearing buildroot,
  %defattr
- Use proper macros for %{__python2}, %{python2_sitelib}
2018-03-28 17:15:07 +02:00
Petr Viktorin
654d113cc8 Conditionalize the Python 2 subpackage
This makes it possible to build without python2 support
by passing "--without python2" to rpmbuild
2018-03-28 16:54:39 +02:00
Petr Viktorin
d0221b8af2 Add missing python_provide for python3-mako
See https://fedoraproject.org/wiki/Packaging:Python#The_.25python_provide_macro
2018-03-28 15:55:25 +02:00
Petr Viktorin
456d72d8b1 Make python-beaker an optional dependency
Mako can work fine without beaker.
Beaker is the preferred caching backend, so the Fedora
package should pull it in by default, but it should also
be possible to disable it in more restricted environments.

Notes:

* Beaker is not mentioned as a dependency in setup.py.

* Technically the optional dependency works by having
  imports like the following (from mako/ext/beaker_cache.py):

      try:
          from beaker import cache as beaker_cache
      except:
          has_beaker = False
      else:
          has_beaker = True
2018-03-28 15:50:47 +02:00
Igor Gnatenko
598ca3ddba
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:33:32 +01:00
Iryna Shcherbina
ca96cca023 Update Python 2 dependency declarations to new packaging standards 2018-02-12 04:30:57 +01:00
Fedora Release Engineering
b3c23500f0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 08:48:45 +00:00
Troy Dawson
5846ba7caf Cleanup spec file conditionals 2017-09-27 10:57:51 -07:00
Zbigniew Jędrzejewski-Szmek
6dd6fa9ac7 Python 2 binary package renamed to python2-mako 2017-08-19 09:41:29 -04:00
Fedora Release Engineering
6596866f7c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 10:51:05 +00:00
Fedora Release Engineering
9fbcd7dd6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 09:32:06 +00:00
Miro Hrončok
6ea0b2d59d Rebuild for Python 3.6 2016-12-19 18:20:37 +01:00
Randy Barlow
bcf5d0d86d Update to 1.0.6 (#1257376).
Also,
* Mark LICENSE as the license.
* Drop declaration of the BuildRoot.
* Drop the use of 2to3.
2016-12-17 19:52:59 -05:00
Fedora Release Engineering
d16cb7e2cf - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 10:23:45 +00:00
Fedora Release Engineering
4b190bba0c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 20:07:02 +00:00
Kevin Fenzi
fd6a16fbdb Update to 1.0.3 2015-11-12 14:58:37 -07:00
Peter Robinson
ff53d899bd - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 16:20:15 +00:00
Dennis Gilmore
21380eb141 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 19:52:22 +00:00
Matěj Cepl
385011289e Update to 1.0.1 (#1185339) 2015-01-28 18:28:05 +01:00
Luke Macken
005ebf31ce Add a BR on python mock 2014-06-18 10:09:16 -06:00
Luke Macken
151f2d80a6 Update to 1.0.0 (#1106453) 2014-06-18 09:55:11 -06:00
Dennis Gilmore
005e477ecb - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 16:18:38 -05:00
Kalev Lember
e6edb0bb53 Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 2014-05-27 15:58:07 +02:00
Luke Macken
d71c9239bd Create a subpackage for the documentation (#1006259) 2014-05-19 10:31:31 -06:00
Luke Macken
d0084dceeb Update to 0.9.1 (#967837) 2014-05-19 10:18:47 -06:00
Dennis Gilmore
075fdc3e8d - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 03:21:33 -05:00
Luke Macken
b84857680f Update to 0.7.3 (#784257) 2013-04-09 17:23:40 -04:00
Dennis Gilmore
675a6b26d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 13:49:23 -06:00
David Malcolm
29630a5150 rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 2012-08-04 20:34:50 -04:00
David Malcolm
753bcf0499 remove rhel logic from with_python3 conditional 2012-08-03 13:37:43 -04:00
Dennis Gilmore
fb006ef290 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 02:05:32 -05:00