summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 03:44:42 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 03:44:42 +0000
commite0566debe32aefb5643453a8f6987ed1a24c61c8 (patch)
tree4eeddb067b00ca6a424334e0269c70cfa758126d
parent06e4497e0556756769c985132b2aa662a43be7e2 (diff)
automatic import of python-amortization
-rw-r--r--.gitignore1
-rw-r--r--python-amortization.spec205
-rw-r--r--sources1
3 files changed, 207 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8acf843 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/amortization-2.2.1.tar.gz
diff --git a/python-amortization.spec b/python-amortization.spec
new file mode 100644
index 0000000..fc4175d
--- /dev/null
+++ b/python-amortization.spec
@@ -0,0 +1,205 @@
+%global _empty_manifest_terminate_build 0
+Name: python-amortization
+Version: 2.2.1
+Release: 1
+Summary: Python library for calculating amortizations and generating amortization schedules
+License: MIT
+URL: https://github.com/roniemartinez/amortization
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/85/25/ae5bef50146b6a0f0865488f36ab2123f59c0bd7673a47b8a5d66c22b11e/amortization-2.2.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-tabulate
+
+%description
+1 4,840.08 1,250.00 3,590.08 146,409.92
+2 4,840.08 1,220.08 3,620.00 142,789.92
+3 4,840.08 1,189.92 3,650.16 139,139.76
+4 4,840.08 1,159.50 3,680.58 135,459.18
+5 4,840.08 1,128.83 3,711.25 131,747.93
+6 4,840.08 1,097.90 3,742.18 128,005.75
+7 4,840.08 1,066.71 3,773.37 124,232.38
+8 4,840.08 1,035.27 3,804.81 120,427.57
+9 4,840.08 1,003.56 3,836.52 116,591.05
+10 4,840.08 971.59 3,868.49 112,722.56
+11 4,840.08 939.35 3,900.73 108,821.83
+12 4,840.08 906.85 3,933.23 104,888.60
+13 4,840.08 874.07 3,966.01 100,922.59
+14 4,840.08 841.02 3,999.06 96,923.53
+15 4,840.08 807.70 4,032.38 92,891.15
+16 4,840.08 774.09 4,065.99 88,825.16
+17 4,840.08 740.21 4,099.87 84,725.29
+18 4,840.08 706.04 4,134.04 80,591.25
+19 4,840.08 671.59 4,168.49 76,422.76
+20 4,840.08 636.86 4,203.22 72,219.54
+21 4,840.08 601.83 4,238.25 67,981.29
+22 4,840.08 566.51 4,273.57 63,707.72
+23 4,840.08 530.90 4,309.18 59,398.54
+24 4,840.08 494.99 4,345.09 55,053.45
+25 4,840.08 458.78 4,381.30 50,672.15
+26 4,840.08 422.27 4,417.81 46,254.34
+27 4,840.08 385.45 4,454.63 41,799.71
+28 4,840.08 348.33 4,491.75 37,307.96
+29 4,840.08 310.90 4,529.18 32,778.78
+30 4,840.08 273.16 4,566.92 28,211.86
+31 4,840.08 235.10 4,604.98 23,606.88
+32 4,840.08 196.72 4,643.36 18,963.52
+33 4,840.08 158.03 4,682.05 14,281.47
+34 4,840.08 119.01 4,721.07 9,560.40
+35 4,840.08 79.67 4,760.41 4,799.99
+36 4,839.99 40.00 4,799.99 0.00
+Totals 174,242.79 24,242.79 150,000.00
+```
+## Dependencies
+[tabulate](https://bitbucket.org/astanin/python-tabulate)
+## Author
+[Ronie Martinez](mailto:ronmarti18@gmail.com)
+## References
+- [Amortization Calculation Formula](https://www.vertex42.com/ExcelArticles/amortization-calculation.html)
+- [Amortization Period Formula](https://math.stackexchange.com/a/3185904)
+
+%package -n python3-amortization
+Summary: Python library for calculating amortizations and generating amortization schedules
+Provides: python-amortization
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-amortization
+1 4,840.08 1,250.00 3,590.08 146,409.92
+2 4,840.08 1,220.08 3,620.00 142,789.92
+3 4,840.08 1,189.92 3,650.16 139,139.76
+4 4,840.08 1,159.50 3,680.58 135,459.18
+5 4,840.08 1,128.83 3,711.25 131,747.93
+6 4,840.08 1,097.90 3,742.18 128,005.75
+7 4,840.08 1,066.71 3,773.37 124,232.38
+8 4,840.08 1,035.27 3,804.81 120,427.57
+9 4,840.08 1,003.56 3,836.52 116,591.05
+10 4,840.08 971.59 3,868.49 112,722.56
+11 4,840.08 939.35 3,900.73 108,821.83
+12 4,840.08 906.85 3,933.23 104,888.60
+13 4,840.08 874.07 3,966.01 100,922.59
+14 4,840.08 841.02 3,999.06 96,923.53
+15 4,840.08 807.70 4,032.38 92,891.15
+16 4,840.08 774.09 4,065.99 88,825.16
+17 4,840.08 740.21 4,099.87 84,725.29
+18 4,840.08 706.04 4,134.04 80,591.25
+19 4,840.08 671.59 4,168.49 76,422.76
+20 4,840.08 636.86 4,203.22 72,219.54
+21 4,840.08 601.83 4,238.25 67,981.29
+22 4,840.08 566.51 4,273.57 63,707.72
+23 4,840.08 530.90 4,309.18 59,398.54
+24 4,840.08 494.99 4,345.09 55,053.45
+25 4,840.08 458.78 4,381.30 50,672.15
+26 4,840.08 422.27 4,417.81 46,254.34
+27 4,840.08 385.45 4,454.63 41,799.71
+28 4,840.08 348.33 4,491.75 37,307.96
+29 4,840.08 310.90 4,529.18 32,778.78
+30 4,840.08 273.16 4,566.92 28,211.86
+31 4,840.08 235.10 4,604.98 23,606.88
+32 4,840.08 196.72 4,643.36 18,963.52
+33 4,840.08 158.03 4,682.05 14,281.47
+34 4,840.08 119.01 4,721.07 9,560.40
+35 4,840.08 79.67 4,760.41 4,799.99
+36 4,839.99 40.00 4,799.99 0.00
+Totals 174,242.79 24,242.79 150,000.00
+```
+## Dependencies
+[tabulate](https://bitbucket.org/astanin/python-tabulate)
+## Author
+[Ronie Martinez](mailto:ronmarti18@gmail.com)
+## References
+- [Amortization Calculation Formula](https://www.vertex42.com/ExcelArticles/amortization-calculation.html)
+- [Amortization Period Formula](https://math.stackexchange.com/a/3185904)
+
+%package help
+Summary: Development documents and examples for amortization
+Provides: python3-amortization-doc
+%description help
+1 4,840.08 1,250.00 3,590.08 146,409.92
+2 4,840.08 1,220.08 3,620.00 142,789.92
+3 4,840.08 1,189.92 3,650.16 139,139.76
+4 4,840.08 1,159.50 3,680.58 135,459.18
+5 4,840.08 1,128.83 3,711.25 131,747.93
+6 4,840.08 1,097.90 3,742.18 128,005.75
+7 4,840.08 1,066.71 3,773.37 124,232.38
+8 4,840.08 1,035.27 3,804.81 120,427.57
+9 4,840.08 1,003.56 3,836.52 116,591.05
+10 4,840.08 971.59 3,868.49 112,722.56
+11 4,840.08 939.35 3,900.73 108,821.83
+12 4,840.08 906.85 3,933.23 104,888.60
+13 4,840.08 874.07 3,966.01 100,922.59
+14 4,840.08 841.02 3,999.06 96,923.53
+15 4,840.08 807.70 4,032.38 92,891.15
+16 4,840.08 774.09 4,065.99 88,825.16
+17 4,840.08 740.21 4,099.87 84,725.29
+18 4,840.08 706.04 4,134.04 80,591.25
+19 4,840.08 671.59 4,168.49 76,422.76
+20 4,840.08 636.86 4,203.22 72,219.54
+21 4,840.08 601.83 4,238.25 67,981.29
+22 4,840.08 566.51 4,273.57 63,707.72
+23 4,840.08 530.90 4,309.18 59,398.54
+24 4,840.08 494.99 4,345.09 55,053.45
+25 4,840.08 458.78 4,381.30 50,672.15
+26 4,840.08 422.27 4,417.81 46,254.34
+27 4,840.08 385.45 4,454.63 41,799.71
+28 4,840.08 348.33 4,491.75 37,307.96
+29 4,840.08 310.90 4,529.18 32,778.78
+30 4,840.08 273.16 4,566.92 28,211.86
+31 4,840.08 235.10 4,604.98 23,606.88
+32 4,840.08 196.72 4,643.36 18,963.52
+33 4,840.08 158.03 4,682.05 14,281.47
+34 4,840.08 119.01 4,721.07 9,560.40
+35 4,840.08 79.67 4,760.41 4,799.99
+36 4,839.99 40.00 4,799.99 0.00
+Totals 174,242.79 24,242.79 150,000.00
+```
+## Dependencies
+[tabulate](https://bitbucket.org/astanin/python-tabulate)
+## Author
+[Ronie Martinez](mailto:ronmarti18@gmail.com)
+## References
+- [Amortization Calculation Formula](https://www.vertex42.com/ExcelArticles/amortization-calculation.html)
+- [Amortization Period Formula](https://math.stackexchange.com/a/3185904)
+
+%prep
+%autosetup -n amortization-2.2.1
+
+%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-amortization -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..33c2f01
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bd9f74043038003b5a2b48a33c38adf0 amortization-2.2.1.tar.gz