Skip to content

Commit c8fc81a

Browse files
committed
pypi-tempora: Autospec creation for update from version 4.1.2 to version 5.0.0
Jason R. Coombs (13): Use numeric separators for easier read. Rely on pytest 6 and drop workaround for pytest-dev/pytest#6178. Remove wheel from build requirements. It's implied for wheel builds. Ref pypa/setuptools#1498. Require Python 3.7 or later. Remove filtered warnings, addressed upstream. Remove deprecated divide_timedelta_float and divide_timedelta. Remove deprecated Parser. Update changelog. Add tests capturing missed expectation. Ref #19. Replace TypeError with ValueError when the unit is invalid. Ref #19. Fix UnreferencedLocalError when nothing matches in the input. Fixes #19. Rewrite docs to remove peculiar inputs. Update changelog.
1 parent 359d396 commit c8fc81a

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
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/86/4e/9af10e9b896c70ac6e817ac317107f96efbe0b435c4918edd5bf6fcaa330/tempora-4.1.2.tar.gz
2+
URL = https://files.pythonhosted.org/packages/33/b0/8041336531c24c411dfe9681734ab7f83c0e0b081a2b3800870c7425ce60/tempora-5.0.0.tar.gz
33
ARCHIVES =
44

55
include ../common/Makefile.common

options.conf

+1-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/86/4e/9af10e9b896c70ac6e817ac317107f96efbe0b435c4918edd5bf6fcaa330/tempora-4.1.2.tar.gz
3+
url = https://files.pythonhosted.org/packages/33/b0/8041336531c24c411dfe9681734ab7f83c0e0b081a2b3800870c7425ce60/tempora-5.0.0.tar.gz
44
archives =
55
giturl = https://github.com/jaraco/tempora.git
66
domain =

pypi-tempora.spec

+8-9
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# Generated by: autospec.py
44
#
55
Name : pypi-tempora
6-
Version : 4.1.2
7-
Release : 44
8-
URL : https://files.pythonhosted.org/packages/86/4e/9af10e9b896c70ac6e817ac317107f96efbe0b435c4918edd5bf6fcaa330/tempora-4.1.2.tar.gz
9-
Source0 : https://files.pythonhosted.org/packages/86/4e/9af10e9b896c70ac6e817ac317107f96efbe0b435c4918edd5bf6fcaa330/tempora-4.1.2.tar.gz
6+
Version : 5.0.0
7+
Release : 45
8+
URL : https://files.pythonhosted.org/packages/33/b0/8041336531c24c411dfe9681734ab7f83c0e0b081a2b3800870c7425ce60/tempora-5.0.0.tar.gz
9+
Source0 : https://files.pythonhosted.org/packages/33/b0/8041336531c24c411dfe9681734ab7f83c0e0b081a2b3800870c7425ce60/tempora-5.0.0.tar.gz
1010
Summary : Objects and routines pertaining to date and time (tempora)
1111
Group : Development/Tools
1212
License : MIT
@@ -21,7 +21,6 @@ BuildRequires : pypi(py)
2121
BuildRequires : pypi(pytz)
2222
BuildRequires : pypi(setuptools)
2323
BuildRequires : pypi(setuptools_scm)
24-
BuildRequires : pypi(wheel)
2524
BuildRequires : pypi-pluggy
2625
BuildRequires : pypi-pytest
2726
BuildRequires : pypi-tox
@@ -72,15 +71,15 @@ python3 components for the pypi-tempora package.
7271

7372

7473
%prep
75-
%setup -q -n tempora-4.1.2
76-
cd %{_builddir}/tempora-4.1.2
74+
%setup -q -n tempora-5.0.0
75+
cd %{_builddir}/tempora-5.0.0
7776

7877
%build
7978
export http_proxy=http://127.0.0.1:9/
8079
export https_proxy=http://127.0.0.1:9/
8180
export no_proxy=localhost,127.0.0.1,0.0.0.0
8281
export LANG=C.UTF-8
83-
export SOURCE_DATE_EPOCH=1641840951
82+
export SOURCE_DATE_EPOCH=1641943070
8483
export GCC_IGNORE_WERROR=1
8584
export CFLAGS="$CFLAGS -fno-lto "
8685
export FCFLAGS="$FFLAGS -fno-lto "
@@ -93,7 +92,7 @@ python3 -m build --wheel --skip-dependency-check --no-isolation
9392
export MAKEFLAGS=%{?_smp_mflags}
9493
rm -rf %{buildroot}
9594
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-tempora
96-
cp %{_builddir}/tempora-4.1.2/LICENSE %{buildroot}/usr/share/package-licenses/pypi-tempora/8e6689d37f82d5617b7f7f7232c94024d41066d1
95+
cp %{_builddir}/tempora-5.0.0/LICENSE %{buildroot}/usr/share/package-licenses/pypi-tempora/8e6689d37f82d5617b7f7f7232c94024d41066d1
9796
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
9897
echo ----[ mark ]----
9998
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :

release

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
44
1+
45

upstream

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7bac3ba1e99f9d4eeb0a3ea8cc5b4484d9ba4723/tempora-4.1.2.tar.gz
1+
4c0f3b47f16752a004c9a47b4ae9b141ba574a68/tempora-5.0.0.tar.gz

versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.1.2
1+
5.0.0

0 commit comments

Comments
 (0)