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

Commit

Permalink
tempora: Autospec creation for update from version 3.0.0 to version 4…
Browse files Browse the repository at this point in the history
….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)
  • Loading branch information
fenrus75 committed Jul 20, 2020
1 parent 50ae5dc commit 07a7afa
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := tempora
URL = https://files.pythonhosted.org/packages/9d/16/4259ab049ad62e6ae71164cb6d99dbfb59ab3bbcdd5ce08ae05283e008fb/tempora-3.0.0.tar.gz
URL = https://files.pythonhosted.org/packages/80/80/d66fb65100501ba1cff2d93554fd03131cf4ce7ba40e47812f20f8b9ec0b/tempora-4.0.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
4 changes: 3 additions & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = tempora
url = https://files.pythonhosted.org/packages/9d/16/4259ab049ad62e6ae71164cb6d99dbfb59ab3bbcdd5ce08ae05283e008fb/tempora-3.0.0.tar.gz
url = https://files.pythonhosted.org/packages/80/80/d66fb65100501ba1cff2d93554fd03131cf4ce7ba40e47812f20f8b9ec0b/tempora-4.0.0.tar.gz
archives =
giturl = https://github.com/jaraco/tempora.git
domain =
Expand Down Expand Up @@ -39,6 +39,8 @@ no_autostart = false
nodebug = false
# disable stripping binaries
nostrip = false
# configure build also for openmpi
openmpi = false
# optimize build for size over speed
optimize_size = false
# set profile for pgo
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
23
24
27 changes: 14 additions & 13 deletions tempora.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : tempora
Version : 3.0.0
Release : 23
URL : https://files.pythonhosted.org/packages/9d/16/4259ab049ad62e6ae71164cb6d99dbfb59ab3bbcdd5ce08ae05283e008fb/tempora-3.0.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/9d/16/4259ab049ad62e6ae71164cb6d99dbfb59ab3bbcdd5ce08ae05283e008fb/tempora-3.0.0.tar.gz
Version : 4.0.0
Release : 24
URL : https://files.pythonhosted.org/packages/80/80/d66fb65100501ba1cff2d93554fd03131cf4ce7ba40e47812f20f8b9ec0b/tempora-4.0.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/80/80/d66fb65100501ba1cff2d93554fd03131cf4ce7ba40e47812f20f8b9ec0b/tempora-4.0.0.tar.gz
Summary : Objects and routines pertaining to date and time (tempora)
Group : Development/Tools
License : MIT
Expand All @@ -28,7 +28,9 @@ BuildRequires : virtualenv

%description
.. image:: https://img.shields.io/pypi/v/tempora.svg
:target: https://pypi.org/project/tempora
:target: `PyPI link`_
.. image:: https://img.shields.io/pypi/pyversions/tempora.svg
:target: `PyPI link`_

%package bin
Summary: bin components for the tempora package.
Expand Down Expand Up @@ -69,20 +71,19 @@ python3 components for the tempora package.


%prep
%setup -q -n tempora-3.0.0
cd %{_builddir}/tempora-3.0.0
%setup -q -n tempora-4.0.0
cd %{_builddir}/tempora-4.0.0

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1584895333
# -Werror is for werrorists
export SOURCE_DATE_EPOCH=1595261249
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fno-lto "
export FCFLAGS="$CFLAGS -fno-lto "
export FFLAGS="$CFLAGS -fno-lto "
export FCFLAGS="$FFLAGS -fno-lto "
export FFLAGS="$FFLAGS -fno-lto "
export CXXFLAGS="$CXXFLAGS -fno-lto "
export MAKEFLAGS=%{?_smp_mflags}
python3 setup.py build
Expand All @@ -91,7 +92,7 @@ python3 setup.py build
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/tempora
cp %{_builddir}/tempora-3.0.0/LICENSE %{buildroot}/usr/share/package-licenses/tempora/a1474494d96f6ddb3a9a0d767a09871ffc388faf
cp %{_builddir}/tempora-4.0.0/LICENSE %{buildroot}/usr/share/package-licenses/tempora/8e6689d37f82d5617b7f7f7232c94024d41066d1
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand All @@ -106,7 +107,7 @@ echo ----[ mark ]----

%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/tempora/a1474494d96f6ddb3a9a0d767a09871ffc388faf
/usr/share/package-licenses/tempora/8e6689d37f82d5617b7f7f7232c94024d41066d1

%files python
%defattr(-,root,root,-)
Expand Down
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f45ff99e57b8f37374d41e9878a6a969dec6cb0e/tempora-3.0.0.tar.gz
cf8bca817e07ed57fe80274813be5d0908da4688/tempora-4.0.0.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0
4.0.0

0 comments on commit 07a7afa

Please sign in to comment.