Skip to content

Commit

Permalink
pypi-inflect: Autospec creation for version 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bryteise committed Dec 2, 2021
0 parents commit e8e03f6
Show file tree
Hide file tree
Showing 17 changed files with 439 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.*~
*~
*.info
*.mod
*.swp
.repo-index
*.log
build.log.round*
*.tar.*
*.tgz
!*.tar.*.*
*.zip
*.jar
*.pom
*.xml
commitmsg
results/
rpms/
for-review.txt
224 changes: 224 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
v5.3.0
======

* #108: Add support for pluralizing open compound nouns.

v5.2.0
======

* #121: Modernized the codebase. Added a lot of type annotations.

v5.1.0
======

* #113: Add support for uncountable nouns.

v5.0.3
======

* Refreshed package metadata.

v5.0.2
======

* #102: Inflect withdraws from `Jazzband <https://jazzband.co>`_
in order to continue to participate in sustained maintenance
and enterprise support through `Tidelift <https://tidelift.com>`_.
The project continues to honor the guidelines and principles
behind Jazzband and welcomes contributors openly.

v5.0.1
======

* Identical release validating release process.

v5.0.0
======

* Module no longer exposes a ``__version__`` attribute. Instead
to query the version installed, use
`importlib.metadata <https://docs.python.org/3/library/importlib.metadata.html>`_
or `its backport <https://pypi.org/project/importlib_metadata>`_
to query::

importlib.metadata.version('inflect')

v4.1.1
======

* Refreshed package metadata.

v4.1.0
======

* #95: Certain operations now allow ignore arbitrary leading words.

v4.0.0
======

* Require Python 3.6 or later.

v3.0.2
======

* #88: Distribution no longer includes root ``tests`` package.

v3.0.1
======

* Project now builds on jaraco/skeleton for shared package
management.

v3.0.0
======

* #75: Drop support for Python 3.4.

v2.1.0
======

* #29: Relicensed under the more permissive MIT License.

v2.0.1
======

* #57: Fix pluralization of taco.

v2.0.0
======

* #37: fix inconsistencies with the inflect method

We now build and parse AST to extract function arguments instead of relying
on regular expressions. This also adds support for keyword arguments and
built-in constants when calling functions in the string.
Unfortunately, this is not backwards compatible in some cases:
* Strings should now be wrapped in single or double quotes
p.inflect("singular_noun(to them)") should now be p.inflect("singular_noun('to them')")
* Empty second argument to a function will now be parsed as None instead of ''.
p.inflect("num(%d,) eggs" % 2) now prints "2 eggs" instead of " eggs"
Since None, True and False are now supported, they can be passed explicitly:
p.inflect("num(%d, False) eggs" % 2) will print " eggs"
p.inflect("num(%d, True) eggs" % 2) will print "2 eggs"

v1.0.2
======

* #53: Improved unicode handling.
* #5 and #40 via #55: Fix capitalization issues in processes where
more than one word is involved.
* #56: Handle correctly units containing 'degree' and 'per'.

v1.0.1
======

* #31: fix extraneous close parentheses.

v1.0.0
======

* Dropped support for Python 3.3.

v0.3.1
======

* Fixed badges in readme.

v0.3.0
======

* Moved hosting to `jazzband <https://github.com/jazzband/inflect>`_.

v0.2.5
======

* Fixed TypeError while parsing compounds (by yavarhusain)
* Fixed encoding issue in setup.py on Python 3


v0.2.4
======

* new maintainer (Alex Grönholm)
* added Python 3 compatibility (by Thorben Krüger)


v0.2.3
======

* fix a/an for dishonor, Honolulu, mpeg, onetime, Ugandan, Ukranian,
Unabomber, unanimous, US
* merge in 'subspecies' fix by UltraNurd
* add arboretum to classical plurals
* prevent crash with singular_noun('ys')


v0.2.2
======

* change numwords to number_to_words in strings
* improve some docstrings
* comment out imports for unused .inflectrc
* remove unused exception class


v0.2.1
======

* remove incorrect gnome_sudoku import


v0.2.0
======

* add gender() to select the gender of singular pronouns

* replace short named methods with longer methods. shorted method now print a message and rasie DecrecationWarning
pl -> plural
plnoun -> plural_noun
plverb -> plural_verb
pladj -> plural_adjective
sinoun -> singular_noun
prespart -> present_participle
numwords -> number_to_words
plequal -> compare
plnounequal -> compare_nouns
plverbequal -> compare_verbs
pladjequal -> compare_adjs
wordlist -> join


* change classical() to only accept keyword args: only one way to do it

* fix bug in numwords where hundreds was giving the wrong number when group=3


v0.1.8
======

* add line to setup showing that this provides 'inflect' so that
inflect_dj can require it

* add the rest of the tests from the Perl version


v0.1.7
======

* replace most of the regular expressions in _plnoun and _sinoun. They run several times faster now.


v0.1.6
======

* add method sinoun() to generate the singular of a plural noun. Phew!

* add changes from new Perl version: 1.892

* start adding tests from Perl version

* add test to check sinoun(plnoun(word)) == word
Can now use word lists to check these methods without needing to have
a list of plurals. ;-)

* fix die -> dice
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PKG_NAME := pypi-inflect
URL = https://files.pythonhosted.org/packages/a8/da/0d51c307544f4cde8d5aeadc2ff6b4d51f8fcd768467f62013b16a8002b5/inflect-5.3.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
2 changes: 2 additions & 0 deletions buildreq_add
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file contains additional build requirements that did not get
# picked up automatically. One name per line, no whitespace.
2 changes: 2 additions & 0 deletions buildreq_ban
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file contains build requirements that get picked up but are
# undesirable. One entry per line, no whitespace.
2 changes: 2 additions & 0 deletions excludes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file contains the output files that need %exclude. Full path
# names, one per line.
66 changes: 66 additions & 0 deletions options.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
[package]
name = pypi-inflect
url = https://files.pythonhosted.org/packages/a8/da/0d51c307544f4cde8d5aeadc2ff6b4d51f8fcd768467f62013b16a8002b5/inflect-5.3.0.tar.gz
archives =
giturl =
domain =
alias =

[autospec]
# build 32 bit libraries
32bit = false
# allow package to build with test failures
allow_test_failures = false
# unset %build ld_as_needed variable
asneeded = false
# this package is trusted enough to automatically update (used by other tools)
autoupdate = false
# extend flags with '-std=gnu++98
broken_c++ = false
# disable parallelization during build
broken_parallel_build = false
# this package is a library compatibility package and only ships versioned library files
compat = false
# set conservative build flags
conservative_flags = false
# dev package requires the extras to be installed
dev_requires_extras = false
# pass -ffast-math to compiler
fast-math = false
# optimize build for speed over size
funroll-loops = false
# set flags to smallest -02 flags possible
insecure_build = false
# do not remove static libraries
keepstatic = false
# do not require autostart subpackage
no_autostart = false
# do not generate debuginfo for this package
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
pgo = false
# set flags for security-sensitive builds
security_sensitive = false
# package is only used by servers
server = false
# do not run test suite
skip_tests = false
# add .so files to the lib package instead of dev
so_to_lib = false
# configure build for avx2
use_avx2 = false
# configure build for avx512
use_avx512 = false
# add clang flags
use_clang = false
# configure build for lto
use_lto = true
# require package verification for build
verify_required = false

2 changes: 2 additions & 0 deletions pkgconfig_add
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file contains additional pkgconfig build requirements that did
# not get picked up automatically. One name per line, no whitespace.
2 changes: 2 additions & 0 deletions pkgconfig_ban
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file contains pkgconfig build requirements that get picked up
# but are undesirable. One entry per line, no whitespace.
Loading

0 comments on commit e8e03f6

Please sign in to comment.