Skip to content

Commit

Permalink
pypi-inflect: Autospec creation for update from version 6.0.4 to vers…
Browse files Browse the repository at this point in the history
…ion 6.1.1

Jason R. Coombs (23):
      Remove unnecessary and incorrect copyright notice. Fixes jaraco/skeleton#78.
      Replace flake8 with ruff. Fixes jaraco/skeleton#79 and sheds debt.
      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 RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401.
      Add badge for Ruff.
      Remove inclusion of python version for docs
      Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83.
      Replace workaround for actions/setup-python#508 with 'allow-prereleases'
      Remove tox boilerplate, no longer necessary with later versions of tox.
      Require Python 3.8 or later.
      Expand 'finalize' to commit and tag the change.
      Leverage pytest-enabler 2.2 for the default config.
      👹 Feed the hobgoblins (delint).
      Add comment linking to ongoing issue.
      Update changelog.
      Update changelog.
      Finalize
      Handle numeric inputs to ordinal without first casting to string. Fixes #178.
      Convert examples to doctests.
      Add test coverage for string-based numbers.
      Finalize

Jennifer Richards (2):
      Pin pydantic to 1.x
      Pin pydantic to 1.x

Joyce (1):
      Feat: initial permissions to main.yml (jaraco/skeleton#76)
  • Loading branch information
fenrus75 committed Jul 3, 2023
1 parent 44c1c98 commit f036e68
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-inflect
URL = https://files.pythonhosted.org/packages/3b/9b/6e44523788cadec2a2bef2632c21264a74ab172cf9a13fab5c94b10db7f2/inflect-6.0.4.tar.gz
URL = https://files.pythonhosted.org/packages/29/45/b65eef08acc1ecfc91bbb78f2514642fcb6c2e293fad6a58775417cd3914/inflect-6.1.1.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-inflect
url = https://files.pythonhosted.org/packages/3b/9b/6e44523788cadec2a2bef2632c21264a74ab172cf9a13fab5c94b10db7f2/inflect-6.0.4.tar.gz
url = https://files.pythonhosted.org/packages/29/45/b65eef08acc1ecfc91bbb78f2514642fcb6c2e293fad6a58775417cd3914/inflect-6.1.1.tar.gz
archives =
giturl = https://github.com/jaraco/inflect/
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-inflect.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
# Using build pattern: pyproject
#
Name : pypi-inflect
Version : 6.0.4
Release : 22
URL : https://files.pythonhosted.org/packages/3b/9b/6e44523788cadec2a2bef2632c21264a74ab172cf9a13fab5c94b10db7f2/inflect-6.0.4.tar.gz
Source0 : https://files.pythonhosted.org/packages/3b/9b/6e44523788cadec2a2bef2632c21264a74ab172cf9a13fab5c94b10db7f2/inflect-6.0.4.tar.gz
Version : 6.1.1
Release : 23
URL : https://files.pythonhosted.org/packages/29/45/b65eef08acc1ecfc91bbb78f2514642fcb6c2e293fad6a58775417cd3914/inflect-6.1.1.tar.gz
Source0 : https://files.pythonhosted.org/packages/29/45/b65eef08acc1ecfc91bbb78f2514642fcb6c2e293fad6a58775417cd3914/inflect-6.1.1.tar.gz
Summary : Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words
Group : Development/Tools
License : MIT
Expand All @@ -16,6 +16,8 @@ Requires: pypi-inflect-python = %{version}-%{release}
Requires: pypi-inflect-python3 = %{version}-%{release}
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 @@ -57,26 +59,26 @@ python3 components for the pypi-inflect package.


%prep
%setup -q -n inflect-6.0.4
cd %{_builddir}/inflect-6.0.4
%setup -q -n inflect-6.1.1
cd %{_builddir}/inflect-6.1.1
pushd ..
cp -a inflect-6.0.4 buildavx2
cp -a inflect-6.1.1 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=1680793454
export SOURCE_DATE_EPOCH=1688410217
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -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 @@ -93,7 +95,7 @@ popd
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-inflect
cp %{_builddir}/inflect-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-inflect/8e6689d37f82d5617b7f7f7232c94024d41066d1 || :
cp %{_builddir}/inflect-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-inflect/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || :
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand All @@ -113,7 +115,7 @@ popd

%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/pypi-inflect/8e6689d37f82d5617b7f7f7232c94024d41066d1
/usr/share/package-licenses/pypi-inflect/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 @@
22
23
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c4f4796ed3a038e37824f0addb6b2483cf175760/inflect-6.0.4.tar.gz
19a09bbef0ae01f5369e7d4c858d2490c6e7004c/inflect-6.1.1.tar.gz

0 comments on commit f036e68

Please sign in to comment.