Skip to content

Commit

Permalink
pypi-tempora: Autospec creation for update from version 5.2.2 to vers…
Browse files Browse the repository at this point in the history
…ion 5.3.0

Jason R. Coombs (7):
      Remove unnecessary and incorrect copyright notice. Fixes jaraco/skeleton#78.
      Replace flake8 with ruff. Fixes jaraco/skeleton#79 and sheds debt.
      Replace abandoned pytest-freezegun with pytest-freezer.
      Make substitution fields more prominent and distinct from true 'skeleton' references. (#71)
      Suppress EncodingWarning in build.env. Ref pypa/build#615.
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Update changelog.

Joyce (1):
      Feat: initial permissions to main.yml (jaraco/skeleton#76)

Ville Skyttä (3):
      Avoid use of `datetime.utc*` deprecated in Python 3.12
      Use aware datetimes in `StopWatch` start and end times
      Fix scheduler test, regression in f9b920b6e8d5d11bc586c6ef492ccb50574c2575
  • Loading branch information
fenrus75 committed Jun 12, 2023
1 parent 7cfdea2 commit 3e0d119
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := pypi-tempora
URL = https://files.pythonhosted.org/packages/1c/32/963e37d9ad64582b822b8bf3288ac135ede936e5c8fe1c71da74164f0974/tempora-5.2.2.tar.gz
URL = https://files.pythonhosted.org/packages/24/9e/fe5328123e2d416b39c5e790165074123c54e34e82aecca33473711dd439/tempora-5.3.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
4 changes: 2 additions & 2 deletions options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = pypi-tempora
url = https://files.pythonhosted.org/packages/1c/32/963e37d9ad64582b822b8bf3288ac135ede936e5c8fe1c71da74164f0974/tempora-5.2.2.tar.gz
url = https://files.pythonhosted.org/packages/24/9e/fe5328123e2d416b39c5e790165074123c54e34e82aecca33473711dd439/tempora-5.3.0.tar.gz
archives =
giturl = https://github.com/jaraco/tempora.git
domain =
Expand Down Expand Up @@ -60,7 +60,7 @@ skip_tests = false
# add .so files to the lib package instead of dev
so_to_lib = false
# configure build for avx2
use_avx2 = false
use_avx2 = true
# configure build for avx512
use_avx512 = false
# add clang flags
Expand Down
30 changes: 16 additions & 14 deletions pypi-tempora.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
# Using build pattern: pyproject
#
Name : pypi-tempora
Version : 5.2.2
Release : 59
URL : https://files.pythonhosted.org/packages/1c/32/963e37d9ad64582b822b8bf3288ac135ede936e5c8fe1c71da74164f0974/tempora-5.2.2.tar.gz
Source0 : https://files.pythonhosted.org/packages/1c/32/963e37d9ad64582b822b8bf3288ac135ede936e5c8fe1c71da74164f0974/tempora-5.2.2.tar.gz
Version : 5.3.0
Release : 60
URL : https://files.pythonhosted.org/packages/24/9e/fe5328123e2d416b39c5e790165074123c54e34e82aecca33473711dd439/tempora-5.3.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/24/9e/fe5328123e2d416b39c5e790165074123c54e34e82aecca33473711dd439/tempora-5.3.0.tar.gz
Summary : Objects and routines pertaining to date and time (tempora)
Group : Development/Tools
License : MIT
Expand All @@ -18,6 +18,8 @@ Requires: pypi-tempora-python3 = %{version}-%{release}
Requires: pypi(jaraco.functools)
BuildRequires : buildreq-distutils3
BuildRequires : pypi(py)
BuildRequires : pypi(setuptools)
BuildRequires : pypi(setuptools_scm)
BuildRequires : pypi-pluggy
BuildRequires : pypi-pytest
BuildRequires : pypi-tox
Expand Down Expand Up @@ -69,23 +71,23 @@ python3 components for the pypi-tempora package.


%prep
%setup -q -n tempora-5.2.2
cd %{_builddir}/tempora-5.2.2
%setup -q -n tempora-5.3.0
cd %{_builddir}/tempora-5.3.0
pushd ..
cp -a tempora-5.2.2 buildavx2
cp -a tempora-5.3.0 buildavx2
popd

%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=1681145643
export SOURCE_DATE_EPOCH=1686585592
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz "
export FCFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz "
export FFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz "
export CXXFLAGS="$CXXFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz "
export CFLAGS="$CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export FCFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export FFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export CXXFLAGS="$CXXFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export MAKEFLAGS=%{?_smp_mflags}
python3 -m build --wheel --skip-dependency-check --no-isolation
pushd ../buildavx2/
Expand All @@ -102,7 +104,7 @@ popd
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-tempora
cp %{_builddir}/tempora-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-tempora/8e6689d37f82d5617b7f7f7232c94024d41066d1 || :
cp %{_builddir}/tempora-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-tempora/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || :
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand All @@ -126,7 +128,7 @@ popd

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

%files python
%defattr(-,root,root,-)
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
59
60
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7d19165eb2b947100e2fa6d648a9540b757055f0/tempora-5.2.2.tar.gz
163c1a57c0a29105f2486a85a95dfd1cc5ca505b/tempora-5.3.0.tar.gz

0 comments on commit 3e0d119

Please sign in to comment.