Skip to content
This repository was archived by the owner on Oct 27, 2022. It is now read-only.

Commit 07a7afa

Browse files
committed
tempora: Autospec creation for update from version 3.0.0 to version 4.0.0
Hugo (1): Fix AppVeyor typo Hugo van Kemenade (2): Spelling and capitalisation (#8) Link badge to PyPI rather than static image Jason R. Coombs (22): Correct guidance on project creation. Rely on setuptools_scm 3.4 and setuptools 42. Now setup.py is optional. Remove setuptools from test environment. Finish dropping support for Python 2 (I hope). Normalize whitespace Revert "setup.cfg: let python-tag mirror python_requires" Update to bionic for Travis. Correct comment about IPv6 workaround. Suppress warnings in pytest-flake8, pytest-black, and pytest-checkdocs. Prefer pytest-black to pytest-black-multipy Test against Windows and Mac Define a default pool_vm_image Remove tox-venv and tox-pip-version. Tox-venv is discouraged (tox-dev/tox-venv#48 (comment)) and tox-pip-version was only there to support tox-venv. venv is dead; long live virtualenv. Remove more references to tox-venv Add workaround for warning emitted when junitxml is used. Ref pytest-dev/pytest#6178. Include mypy for type checking during tests. Ensure virtualenv is upgraded when installing tox. Fixes jaraco/path#188. Run tests on prereleases of Python on Windows. Fixes jaraco/skeleton#17. Add workaround for python/mypy#8627. Fixes jaraco/skeleton#18. Add 'refresh.svg' demonstrating an example of refreshing a project with the latest skeleton. Ref #7. Move workaround for python/mypy#8627 to tox.ini, as adding it to setup.cfg prevents releases to PyPI. Fixes jaraco/skeleton#19. Remove strptime Remove Python 3.1 compatibility for divide_timedelta and deprecate the functionality. Deprecate divide_timedelta_float. Deprecate Parser class. Vincent Fazio (1): setup.cfg: let python-tag mirror python_requires johnthagen (1): Line wrap LICENSE file layday (1): Require toml extra for setuptools_scm (#12)
1 parent 50ae5dc commit 07a7afa

File tree

6 files changed

+21
-18
lines changed

6 files changed

+21
-18
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PKG_NAME := tempora
2-
URL = https://files.pythonhosted.org/packages/9d/16/4259ab049ad62e6ae71164cb6d99dbfb59ab3bbcdd5ce08ae05283e008fb/tempora-3.0.0.tar.gz
2+
URL = https://files.pythonhosted.org/packages/80/80/d66fb65100501ba1cff2d93554fd03131cf4ce7ba40e47812f20f8b9ec0b/tempora-4.0.0.tar.gz
33
ARCHIVES =
44

55
include ../common/Makefile.common

options.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = tempora
3-
url = https://files.pythonhosted.org/packages/9d/16/4259ab049ad62e6ae71164cb6d99dbfb59ab3bbcdd5ce08ae05283e008fb/tempora-3.0.0.tar.gz
3+
url = https://files.pythonhosted.org/packages/80/80/d66fb65100501ba1cff2d93554fd03131cf4ce7ba40e47812f20f8b9ec0b/tempora-4.0.0.tar.gz
44
archives =
55
giturl = https://github.com/jaraco/tempora.git
66
domain =
@@ -39,6 +39,8 @@ no_autostart = false
3939
nodebug = false
4040
# disable stripping binaries
4141
nostrip = false
42+
# configure build also for openmpi
43+
openmpi = false
4244
# optimize build for size over speed
4345
optimize_size = false
4446
# set profile for pgo

release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
23
1+
24

tempora.spec

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# Generated by: autospec.py
44
#
55
Name : tempora
6-
Version : 3.0.0
7-
Release : 23
8-
URL : https://files.pythonhosted.org/packages/9d/16/4259ab049ad62e6ae71164cb6d99dbfb59ab3bbcdd5ce08ae05283e008fb/tempora-3.0.0.tar.gz
9-
Source0 : https://files.pythonhosted.org/packages/9d/16/4259ab049ad62e6ae71164cb6d99dbfb59ab3bbcdd5ce08ae05283e008fb/tempora-3.0.0.tar.gz
6+
Version : 4.0.0
7+
Release : 24
8+
URL : https://files.pythonhosted.org/packages/80/80/d66fb65100501ba1cff2d93554fd03131cf4ce7ba40e47812f20f8b9ec0b/tempora-4.0.0.tar.gz
9+
Source0 : https://files.pythonhosted.org/packages/80/80/d66fb65100501ba1cff2d93554fd03131cf4ce7ba40e47812f20f8b9ec0b/tempora-4.0.0.tar.gz
1010
Summary : Objects and routines pertaining to date and time (tempora)
1111
Group : Development/Tools
1212
License : MIT
@@ -28,7 +28,9 @@ BuildRequires : virtualenv
2828

2929
%description
3030
.. image:: https://img.shields.io/pypi/v/tempora.svg
31-
:target: https://pypi.org/project/tempora
31+
:target: `PyPI link`_
32+
.. image:: https://img.shields.io/pypi/pyversions/tempora.svg
33+
:target: `PyPI link`_
3234

3335
%package bin
3436
Summary: bin components for the tempora package.
@@ -69,20 +71,19 @@ python3 components for the tempora package.
6971

7072

7173
%prep
72-
%setup -q -n tempora-3.0.0
73-
cd %{_builddir}/tempora-3.0.0
74+
%setup -q -n tempora-4.0.0
75+
cd %{_builddir}/tempora-4.0.0
7476

7577
%build
7678
export http_proxy=http://127.0.0.1:9/
7779
export https_proxy=http://127.0.0.1:9/
7880
export no_proxy=localhost,127.0.0.1,0.0.0.0
7981
export LANG=C.UTF-8
80-
export SOURCE_DATE_EPOCH=1584895333
81-
# -Werror is for werrorists
82+
export SOURCE_DATE_EPOCH=1595261249
8283
export GCC_IGNORE_WERROR=1
8384
export CFLAGS="$CFLAGS -fno-lto "
84-
export FCFLAGS="$CFLAGS -fno-lto "
85-
export FFLAGS="$CFLAGS -fno-lto "
85+
export FCFLAGS="$FFLAGS -fno-lto "
86+
export FFLAGS="$FFLAGS -fno-lto "
8687
export CXXFLAGS="$CXXFLAGS -fno-lto "
8788
export MAKEFLAGS=%{?_smp_mflags}
8889
python3 setup.py build
@@ -91,7 +92,7 @@ python3 setup.py build
9192
export MAKEFLAGS=%{?_smp_mflags}
9293
rm -rf %{buildroot}
9394
mkdir -p %{buildroot}/usr/share/package-licenses/tempora
94-
cp %{_builddir}/tempora-3.0.0/LICENSE %{buildroot}/usr/share/package-licenses/tempora/a1474494d96f6ddb3a9a0d767a09871ffc388faf
95+
cp %{_builddir}/tempora-4.0.0/LICENSE %{buildroot}/usr/share/package-licenses/tempora/8e6689d37f82d5617b7f7f7232c94024d41066d1
9596
python3 -tt setup.py build install --root=%{buildroot}
9697
echo ----[ mark ]----
9798
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
@@ -106,7 +107,7 @@ echo ----[ mark ]----
106107

107108
%files license
108109
%defattr(0644,root,root,0755)
109-
/usr/share/package-licenses/tempora/a1474494d96f6ddb3a9a0d767a09871ffc388faf
110+
/usr/share/package-licenses/tempora/8e6689d37f82d5617b7f7f7232c94024d41066d1
110111

111112
%files python
112113
%defattr(-,root,root,-)

upstream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f45ff99e57b8f37374d41e9878a6a969dec6cb0e/tempora-3.0.0.tar.gz
1+
cf8bca817e07ed57fe80274813be5d0908da4688/tempora-4.0.0.tar.gz

versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.0
1+
4.0.0

0 commit comments

Comments
 (0)