Skip to content

Commit 0aace63

Browse files
committed
pypi-tempora: Autospec creation for update from version 5.0.2 to version 5.1.0
Jason R. Coombs (20): Use '-dev' for every Python version. Ref actions/setup-python#213. Use Python 3.11 for cutting releases. Pin flake8. Workaround for tholo/pytest-flake8#87. Update to setup-python v4. Fixes jaraco/skeleton#65. Also update release to v4 Add PyPy to the test matrix on Linux. Fixes jaraco/skeleton#63. When rendering docs, preserve the syntax for defaults. Fixes jaraco/path#197. Adopt furo theme for docs. Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635). GHA pretty env (#67) Pin mypy to '<0.990' due to realpython/pytest-mypy#141 Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink. Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057. Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux. Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87. Update syntax Extract function 'infer_datetime'. Add some type annotations. Use algebra to construct subs in a single expression. Add type hints to _prorated_values. Update changelog. Zach Burnett (1): rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)
1 parent 02c5e17 commit 0aace63

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PKG_NAME := pypi-tempora
2-
URL = https://files.pythonhosted.org/packages/72/2c/9aff4204a4ea5172b0cb3508f8a504ab6562ba539825ea2e33a5b4cb629b/tempora-5.0.2.tar.gz
2+
URL = https://files.pythonhosted.org/packages/a9/4e/41863232e77742b3a5b30a81e1398abd102aa0a67657bc86a53800966b8e/tempora-5.1.0.tar.gz
33
ARCHIVES =
44

55
include ../common/Makefile.common

options.conf

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = pypi-tempora
3-
url = https://files.pythonhosted.org/packages/72/2c/9aff4204a4ea5172b0cb3508f8a504ab6562ba539825ea2e33a5b4cb629b/tempora-5.0.2.tar.gz
3+
url = https://files.pythonhosted.org/packages/a9/4e/41863232e77742b3a5b30a81e1398abd102aa0a67657bc86a53800966b8e/tempora-5.1.0.tar.gz
44
archives =
55
giturl = https://github.com/jaraco/tempora.git
66
domain =
@@ -35,6 +35,8 @@ insecure_build = false
3535
keepstatic = false
3636
# do not require autostart subpackage
3737
no_autostart = false
38+
# do not use the replacement pattern for file matching
39+
no_glob = false
3840
# do not generate debuginfo for this package
3941
nodebug = false
4042
# disable stripping binaries

pypi-tempora.spec

+12-14
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# Generated by: autospec.py
44
#
55
Name : pypi-tempora
6-
Version : 5.0.2
7-
Release : 54
8-
URL : https://files.pythonhosted.org/packages/72/2c/9aff4204a4ea5172b0cb3508f8a504ab6562ba539825ea2e33a5b4cb629b/tempora-5.0.2.tar.gz
9-
Source0 : https://files.pythonhosted.org/packages/72/2c/9aff4204a4ea5172b0cb3508f8a504ab6562ba539825ea2e33a5b4cb629b/tempora-5.0.2.tar.gz
6+
Version : 5.1.0
7+
Release : 55
8+
URL : https://files.pythonhosted.org/packages/a9/4e/41863232e77742b3a5b30a81e1398abd102aa0a67657bc86a53800966b8e/tempora-5.1.0.tar.gz
9+
Source0 : https://files.pythonhosted.org/packages/a9/4e/41863232e77742b3a5b30a81e1398abd102aa0a67657bc86a53800966b8e/tempora-5.1.0.tar.gz
1010
Summary : Objects and routines pertaining to date and time (tempora)
1111
Group : Development/Tools
1212
License : MIT
@@ -28,9 +28,7 @@ BuildRequires : pypi-virtualenv
2828

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

3533
%package bin
3634
Summary: bin components for the pypi-tempora package.
@@ -71,18 +69,18 @@ python3 components for the pypi-tempora package.
7169

7270

7371
%prep
74-
%setup -q -n tempora-5.0.2
75-
cd %{_builddir}/tempora-5.0.2
72+
%setup -q -n tempora-5.1.0
73+
cd %{_builddir}/tempora-5.1.0
7674
pushd ..
77-
cp -a tempora-5.0.2 buildavx2
75+
cp -a tempora-5.1.0 buildavx2
7876
popd
7977

8078
%build
8179
export http_proxy=http://127.0.0.1:9/
8280
export https_proxy=http://127.0.0.1:9/
8381
export no_proxy=localhost,127.0.0.1,0.0.0.0
8482
export LANG=C.UTF-8
85-
export SOURCE_DATE_EPOCH=1657895296
83+
export SOURCE_DATE_EPOCH=1669055588
8684
export GCC_IGNORE_WERROR=1
8785
export CFLAGS="$CFLAGS -fno-lto "
8886
export FCFLAGS="$FFLAGS -fno-lto "
@@ -91,8 +89,8 @@ export CXXFLAGS="$CXXFLAGS -fno-lto "
9189
export MAKEFLAGS=%{?_smp_mflags}
9290
python3 -m build --wheel --skip-dependency-check --no-isolation
9391
pushd ../buildavx2/
94-
export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 -msse2avx"
95-
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 -msse2avx "
92+
export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
93+
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
9694
export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
9795
export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 "
9896
export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 "
@@ -104,7 +102,7 @@ popd
104102
export MAKEFLAGS=%{?_smp_mflags}
105103
rm -rf %{buildroot}
106104
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-tempora
107-
cp %{_builddir}/tempora-5.0.2/LICENSE %{buildroot}/usr/share/package-licenses/pypi-tempora/8e6689d37f82d5617b7f7f7232c94024d41066d1
105+
cp %{_builddir}/tempora-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-tempora/8e6689d37f82d5617b7f7f7232c94024d41066d1 || :
108106
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
109107
echo ----[ mark ]----
110108
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :

release

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
54
1+
55

upstream

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f64b84d6863e3ca6cef1f090b44c9547ac18908c/tempora-5.0.2.tar.gz
1+
aa85437e879083805bff0dca480173bf2ba06f27/tempora-5.1.0.tar.gz

versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.2
1+
5.1.0

0 commit comments

Comments
 (0)