diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:08:13 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:08:13 +0000 |
commit | 3b3ef0a0cca04d9ed1efe5c13f7490b2e45d424e (patch) | |
tree | c398e1d590788330b8cd752441f50f0dfa323a6e | |
parent | 99a6bb56da3e7dc66f34d2a7ff9201933e40fe9c (diff) |
automatic import of python-phx-filtersopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-phx-filters.spec | 113 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 115 insertions, 0 deletions
@@ -0,0 +1 @@ +/phx-filters-3.3.0.tar.gz diff --git a/python-phx-filters.spec b/python-phx-filters.spec new file mode 100644 index 0000000..779ceba --- /dev/null +++ b/python-phx-filters.spec @@ -0,0 +1,113 @@ +%global _empty_manifest_terminate_build 0 +Name: python-phx-filters +Version: 3.3.0 +Release: 1 +Summary: Validation and data pipelines made easy! +License: MIT License Copyright (c) 2016 EFL Global Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +URL: https://pypi.org/project/phx-filters/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/eb/5c/f22f6cfeb181957289d6422c5df2767ed03545f8830e0d42f0816d0ea146/phx-filters-3.3.0.tar.gz +BuildArch: noarch + +Requires: python3-phx-class-registry +Requires: python3-dateutil +Requires: python3-pytz +Requires: python3-regex +Requires: python3-build +Requires: python3-twine +Requires: python3-phx-filters-django +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-phx-filters-iso +Requires: python3-tox + +%description +The Filters library provides an easy and readable way to create complex +data validation and processing pipelines, including: +- Validating complex JSON structures in API requests or config files. +- Parsing timestamps and converting to UTC. +- Converting Unicode strings to NFC, normalizing line endings and removing + unprintable characters. +- Decoding Base64, including URL-safe variants. +And much more! +The output from one filter can be "piped" into the input of another, enabling +you to "chain" filters together to quickly and easily create complex data +pipelines. + +%package -n python3-phx-filters +Summary: Validation and data pipelines made easy! +Provides: python-phx-filters +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-phx-filters +The Filters library provides an easy and readable way to create complex +data validation and processing pipelines, including: +- Validating complex JSON structures in API requests or config files. +- Parsing timestamps and converting to UTC. +- Converting Unicode strings to NFC, normalizing line endings and removing + unprintable characters. +- Decoding Base64, including URL-safe variants. +And much more! +The output from one filter can be "piped" into the input of another, enabling +you to "chain" filters together to quickly and easily create complex data +pipelines. + +%package help +Summary: Development documents and examples for phx-filters +Provides: python3-phx-filters-doc +%description help +The Filters library provides an easy and readable way to create complex +data validation and processing pipelines, including: +- Validating complex JSON structures in API requests or config files. +- Parsing timestamps and converting to UTC. +- Converting Unicode strings to NFC, normalizing line endings and removing + unprintable characters. +- Decoding Base64, including URL-safe variants. +And much more! +The output from one filter can be "piped" into the input of another, enabling +you to "chain" filters together to quickly and easily create complex data +pipelines. + +%prep +%autosetup -n phx-filters-3.3.0 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-phx-filters -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 3.3.0-1 +- Package Spec generated @@ -0,0 +1 @@ +16f985d6a46acd6c4f1035e3d0507baf phx-filters-3.3.0.tar.gz |