%global _empty_manifest_terminate_build 0 Name: python-loutilities Version: 3.8.2 Release: 1 Summary: some hopefully useful utilities License: Apache License, Version 2.0 URL: http://github.com/louking/loutilities Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b8/3c/25c2ae6f6926e3c509252947f678ad27ecffa3abdc7a30b755117f816031/loutilities-3.8.2.tar.gz BuildArch: noarch Requires: python3-flask-security-too %description This is a package with a few hopefully useful utilities. * agegrade - provide age grading calculations (running) * apikey - manage API keys for an application * bfile - binary file handler * configparser - enhanced ConfigParser, provides dict and keys are case sensitive * csvu - csv and string utilities * csvwt - write csv from various file types * extconfigparser - extend ConfigParser.RawConfigParser option interpretation * geo - utilities for lat / long and other geographic manipulation * googleauth - oauth 2.0 for google APIs * kmlutils - utilities for access to kml file * namesplitter - name splitting method * nesteddict - handle dict keys like d['a.b.c'] as d['a']['b']['c'] * nicknames - name equivalence detector * renderrun - common functions for rendering information related to running * tables - utilities for dataTables javascript support * tables-files - supporting files required for tables.py -- these need to be copied to project using tables.py * textreader - read text out of various file types * timeu - time methods * transform - transformation methods * wxextensions - extensions for wxPython widgets * xmldict - xml / dict conversions, from http://code.activestate.com/recipes/573463-converting-xml-to-dictionary-and-back/ Command line scripts * agegrade - update age grading table (running) * apikey - create / update key for an application * applytemplate - apply a template to files in a directory * filtercsv - filter a csv file based on indicated filter * makerst - make rst files as input for Sphinx documentation for a given package %package -n python3-loutilities Summary: some hopefully useful utilities Provides: python-loutilities BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-loutilities This is a package with a few hopefully useful utilities. * agegrade - provide age grading calculations (running) * apikey - manage API keys for an application * bfile - binary file handler * configparser - enhanced ConfigParser, provides dict and keys are case sensitive * csvu - csv and string utilities * csvwt - write csv from various file types * extconfigparser - extend ConfigParser.RawConfigParser option interpretation * geo - utilities for lat / long and other geographic manipulation * googleauth - oauth 2.0 for google APIs * kmlutils - utilities for access to kml file * namesplitter - name splitting method * nesteddict - handle dict keys like d['a.b.c'] as d['a']['b']['c'] * nicknames - name equivalence detector * renderrun - common functions for rendering information related to running * tables - utilities for dataTables javascript support * tables-files - supporting files required for tables.py -- these need to be copied to project using tables.py * textreader - read text out of various file types * timeu - time methods * transform - transformation methods * wxextensions - extensions for wxPython widgets * xmldict - xml / dict conversions, from http://code.activestate.com/recipes/573463-converting-xml-to-dictionary-and-back/ Command line scripts * agegrade - update age grading table (running) * apikey - create / update key for an application * applytemplate - apply a template to files in a directory * filtercsv - filter a csv file based on indicated filter * makerst - make rst files as input for Sphinx documentation for a given package %package help Summary: Development documents and examples for loutilities Provides: python3-loutilities-doc %description help This is a package with a few hopefully useful utilities. * agegrade - provide age grading calculations (running) * apikey - manage API keys for an application * bfile - binary file handler * configparser - enhanced ConfigParser, provides dict and keys are case sensitive * csvu - csv and string utilities * csvwt - write csv from various file types * extconfigparser - extend ConfigParser.RawConfigParser option interpretation * geo - utilities for lat / long and other geographic manipulation * googleauth - oauth 2.0 for google APIs * kmlutils - utilities for access to kml file * namesplitter - name splitting method * nesteddict - handle dict keys like d['a.b.c'] as d['a']['b']['c'] * nicknames - name equivalence detector * renderrun - common functions for rendering information related to running * tables - utilities for dataTables javascript support * tables-files - supporting files required for tables.py -- these need to be copied to project using tables.py * textreader - read text out of various file types * timeu - time methods * transform - transformation methods * wxextensions - extensions for wxPython widgets * xmldict - xml / dict conversions, from http://code.activestate.com/recipes/573463-converting-xml-to-dictionary-and-back/ Command line scripts * agegrade - update age grading table (running) * apikey - create / update key for an application * applytemplate - apply a template to files in a directory * filtercsv - filter a csv file based on indicated filter * makerst - make rst files as input for Sphinx documentation for a given package %prep %autosetup -n loutilities-3.8.2 %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-loutilities -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon May 15 2023 Python_Bot - 3.8.2-1 - Package Spec generated