blob: 21c3edb8cbd383f0aa3caf3592d3f9b37d553997 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
%global _empty_manifest_terminate_build 0
Name: python-et-micc
Version: 1.1.8
Release: 1
Summary: A practical Python project skeleton generator.
License: MIT
URL: https://github.com/etijskens/et-micc
Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8c/d3/743f6ce072f133c6184d337e451084a4693c902bc1324a8f11d3d6bb24cd/et-micc-1.1.8.tar.gz
BuildArch: noarch
Requires: python3-click
Requires: python3-cookiecutter
Requires: python3-sphinx-click
Requires: python3-sphinx-rtd-theme
Requires: python3-walkdir
Requires: python3-tomlkit
Requires: python3-semantic_version
Requires: python3-pypi-simple
%description
Micc_ does not do all of this by itself. For many things it relies on other strong
open source tools and it is therefor open source as well (MIT Licence). Here is a list
of tools micc_ is using or cooperating with happily:
* `Pyenv <https://github.com/pyenv/pyenv>`_: management of different Python versions.
* `Pipx <https://github.com/pipxproject/pipx/>`_ for installation of CLIs in a system-wide
way.
* `Poetry <https://github.com/sdispater/poetry>`_ for dependency management, virtual
environment management, packaging and publishing.
* `Git <https://www.git-scm.com/>`_ for version control.
* `CMake <https://cmake.org>`_ is usde for building binary extension modules written
in C++.
The above tools are not dependencies of Micc_ and must be installed separately. Then
there are a number of python packages on which micc_ depends and which are automatically
installed when poetry_ creates a virtual environment for a project.
* `Cookiecutter <https://github.com/audreyr/cookiecutter>`_ for creating boilerplate
code from templates for all the parts that can be added to your project.
* `Python-semanticversion <https://github.com/rbarrois/python-semanticversion/blob/master/docs/index.rst>`_
for managing version strings and dependency version constraints according to the
`Semver 2.0 <http://semver.org/>`_ specification.
* `Pytest <https://www.git-scm.com/>`_ for testing your code.
* `Click <https://click.palletsprojects.com/en/7.x/>`_ for a pythonic and intuitive definition
of command-line interfaces (CLIs).
* `Sphinx <http://www.sphinx-doc.org/>`_ to extract documentation from your project's
doc-strings.
* `Sphinx-click <https://sphinx-click.readthedocs.io/en/latest/>`_ for extracting documentation
from the click_ command descriptions.
* `F2py <https://docs.scipy.org/doc/numpy/f2py/>`_ for transforming modern Fortran code into performant
binary extension modules interfacing nicely with `Numpy <https://numpy.org/>`_.
* `Pybind11 <https://pybind11.readthedocs.io/en/stable/>`_ as the
glue between C++ source code and performant binary extension modules, also interfacing nicely with Numpy_.
%package -n python3-et-micc
Summary: A practical Python project skeleton generator.
Provides: python-et-micc
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-et-micc
Micc_ does not do all of this by itself. For many things it relies on other strong
open source tools and it is therefor open source as well (MIT Licence). Here is a list
of tools micc_ is using or cooperating with happily:
* `Pyenv <https://github.com/pyenv/pyenv>`_: management of different Python versions.
* `Pipx <https://github.com/pipxproject/pipx/>`_ for installation of CLIs in a system-wide
way.
* `Poetry <https://github.com/sdispater/poetry>`_ for dependency management, virtual
environment management, packaging and publishing.
* `Git <https://www.git-scm.com/>`_ for version control.
* `CMake <https://cmake.org>`_ is usde for building binary extension modules written
in C++.
The above tools are not dependencies of Micc_ and must be installed separately. Then
there are a number of python packages on which micc_ depends and which are automatically
installed when poetry_ creates a virtual environment for a project.
* `Cookiecutter <https://github.com/audreyr/cookiecutter>`_ for creating boilerplate
code from templates for all the parts that can be added to your project.
* `Python-semanticversion <https://github.com/rbarrois/python-semanticversion/blob/master/docs/index.rst>`_
for managing version strings and dependency version constraints according to the
`Semver 2.0 <http://semver.org/>`_ specification.
* `Pytest <https://www.git-scm.com/>`_ for testing your code.
* `Click <https://click.palletsprojects.com/en/7.x/>`_ for a pythonic and intuitive definition
of command-line interfaces (CLIs).
* `Sphinx <http://www.sphinx-doc.org/>`_ to extract documentation from your project's
doc-strings.
* `Sphinx-click <https://sphinx-click.readthedocs.io/en/latest/>`_ for extracting documentation
from the click_ command descriptions.
* `F2py <https://docs.scipy.org/doc/numpy/f2py/>`_ for transforming modern Fortran code into performant
binary extension modules interfacing nicely with `Numpy <https://numpy.org/>`_.
* `Pybind11 <https://pybind11.readthedocs.io/en/stable/>`_ as the
glue between C++ source code and performant binary extension modules, also interfacing nicely with Numpy_.
%package help
Summary: Development documents and examples for et-micc
Provides: python3-et-micc-doc
%description help
Micc_ does not do all of this by itself. For many things it relies on other strong
open source tools and it is therefor open source as well (MIT Licence). Here is a list
of tools micc_ is using or cooperating with happily:
* `Pyenv <https://github.com/pyenv/pyenv>`_: management of different Python versions.
* `Pipx <https://github.com/pipxproject/pipx/>`_ for installation of CLIs in a system-wide
way.
* `Poetry <https://github.com/sdispater/poetry>`_ for dependency management, virtual
environment management, packaging and publishing.
* `Git <https://www.git-scm.com/>`_ for version control.
* `CMake <https://cmake.org>`_ is usde for building binary extension modules written
in C++.
The above tools are not dependencies of Micc_ and must be installed separately. Then
there are a number of python packages on which micc_ depends and which are automatically
installed when poetry_ creates a virtual environment for a project.
* `Cookiecutter <https://github.com/audreyr/cookiecutter>`_ for creating boilerplate
code from templates for all the parts that can be added to your project.
* `Python-semanticversion <https://github.com/rbarrois/python-semanticversion/blob/master/docs/index.rst>`_
for managing version strings and dependency version constraints according to the
`Semver 2.0 <http://semver.org/>`_ specification.
* `Pytest <https://www.git-scm.com/>`_ for testing your code.
* `Click <https://click.palletsprojects.com/en/7.x/>`_ for a pythonic and intuitive definition
of command-line interfaces (CLIs).
* `Sphinx <http://www.sphinx-doc.org/>`_ to extract documentation from your project's
doc-strings.
* `Sphinx-click <https://sphinx-click.readthedocs.io/en/latest/>`_ for extracting documentation
from the click_ command descriptions.
* `F2py <https://docs.scipy.org/doc/numpy/f2py/>`_ for transforming modern Fortran code into performant
binary extension modules interfacing nicely with `Numpy <https://numpy.org/>`_.
* `Pybind11 <https://pybind11.readthedocs.io/en/stable/>`_ as the
glue between C++ source code and performant binary extension modules, also interfacing nicely with Numpy_.
%prep
%autosetup -n et-micc-1.1.8
%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-et-micc -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.8-1
- Package Spec generated
|