%global _empty_manifest_terminate_build 0
Name: python-lukeparser
Version: 0.3.28
Release: 1
Summary: The Style of Markdown with the Power of LaTeX.
License: GPLv2
URL: https://lukeparser.github.io
Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c2/eb/6089aed7869a4beb38fab2235596b7fbe0a4e08ef48abd9b9eb3aba3b39b/lukeparser-0.3.28.tar.gz
%description
# Luke, I'm Your Parser.
[](https://pypi.org/project/lukeparser/)
[](https://pypi.org/project/lukeparser/)
[](https://github.com/lukeparser/lukeparser)
[](https://github.com/lukeparser/lukeparser)
> The Style of Markdown with the Power of LaTeX.
Powered by blazing fast **Bison/Flex** and magnificent & extensible **Python3**.
## Features
Did you ever missed these functions in Markdown?
- **variables and custom commands** in Markdown - in Math- and in Textmode?
- additional parameters for each component for more variation and control?
- **custom styles** - you can also use different styles in the same document
- the choice to **compile to LaTeX or HTML** - or both at the same time?
- **references across files**?
- a easy **searchable representation** of chapters, images, and other components of your documents
- **component nesting** using indentation, e.g. sections in lists
- we use an automatic indentation-style detection (spaces or tabs)
- **Notes and Footnotes in a seperate file or part of your document**.
- **nested multiline comments**
- an inplace server for live parsing of markdown files as **a replacement for simple php**
## Getting Started
**Documentation**
Read the [Documentation online.](https://lukeparser.github.io/lukeparser).
**Install** (Linux, Windows & OS X)
```sh
pip install lukeparser
```
**Start a live reload server anywhere**
```
luke --live
```
**Usage example**
```
luke file.md
```
_For more examples and usage, please see our docs._
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request
## License
Code: [](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
Language Definition: [](https://opensource.org/licenses/MIT)
© 2019 David Hartmann. With the exceptions noted below, this code is released under the GPL, version 2. This software carries no warranty of any kind. The language specification and the documentation, written in the *luke markdown dialect* are licensed under the MIT license.
%package -n python3-lukeparser
Summary: The Style of Markdown with the Power of LaTeX.
Provides: python-lukeparser
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-cffi
BuildRequires: gcc
BuildRequires: gdb
%description -n python3-lukeparser
# Luke, I'm Your Parser.
[](https://pypi.org/project/lukeparser/)
[](https://pypi.org/project/lukeparser/)
[](https://github.com/lukeparser/lukeparser)
[](https://github.com/lukeparser/lukeparser)
> The Style of Markdown with the Power of LaTeX.
Powered by blazing fast **Bison/Flex** and magnificent & extensible **Python3**.
## Features
Did you ever missed these functions in Markdown?
- **variables and custom commands** in Markdown - in Math- and in Textmode?
- additional parameters for each component for more variation and control?
- **custom styles** - you can also use different styles in the same document
- the choice to **compile to LaTeX or HTML** - or both at the same time?
- **references across files**?
- a easy **searchable representation** of chapters, images, and other components of your documents
- **component nesting** using indentation, e.g. sections in lists
- we use an automatic indentation-style detection (spaces or tabs)
- **Notes and Footnotes in a seperate file or part of your document**.
- **nested multiline comments**
- an inplace server for live parsing of markdown files as **a replacement for simple php**
## Getting Started
**Documentation**
Read the [Documentation online.](https://lukeparser.github.io/lukeparser).
**Install** (Linux, Windows & OS X)
```sh
pip install lukeparser
```
**Start a live reload server anywhere**
```
luke --live
```
**Usage example**
```
luke file.md
```
_For more examples and usage, please see our docs._
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request
## License
Code: [](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
Language Definition: [](https://opensource.org/licenses/MIT)
© 2019 David Hartmann. With the exceptions noted below, this code is released under the GPL, version 2. This software carries no warranty of any kind. The language specification and the documentation, written in the *luke markdown dialect* are licensed under the MIT license.
%package help
Summary: Development documents and examples for lukeparser
Provides: python3-lukeparser-doc
%description help
# Luke, I'm Your Parser.
[](https://pypi.org/project/lukeparser/)
[](https://pypi.org/project/lukeparser/)
[](https://github.com/lukeparser/lukeparser)
[](https://github.com/lukeparser/lukeparser)
> The Style of Markdown with the Power of LaTeX.
Powered by blazing fast **Bison/Flex** and magnificent & extensible **Python3**.
## Features
Did you ever missed these functions in Markdown?
- **variables and custom commands** in Markdown - in Math- and in Textmode?
- additional parameters for each component for more variation and control?
- **custom styles** - you can also use different styles in the same document
- the choice to **compile to LaTeX or HTML** - or both at the same time?
- **references across files**?
- a easy **searchable representation** of chapters, images, and other components of your documents
- **component nesting** using indentation, e.g. sections in lists
- we use an automatic indentation-style detection (spaces or tabs)
- **Notes and Footnotes in a seperate file or part of your document**.
- **nested multiline comments**
- an inplace server for live parsing of markdown files as **a replacement for simple php**
## Getting Started
**Documentation**
Read the [Documentation online.](https://lukeparser.github.io/lukeparser).
**Install** (Linux, Windows & OS X)
```sh
pip install lukeparser
```
**Start a live reload server anywhere**
```
luke --live
```
**Usage example**
```
luke file.md
```
_For more examples and usage, please see our docs._
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request
## License
Code: [](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
Language Definition: [](https://opensource.org/licenses/MIT)
© 2019 David Hartmann. With the exceptions noted below, this code is released under the GPL, version 2. This software carries no warranty of any kind. The language specification and the documentation, written in the *luke markdown dialect* are licensed under the MIT license.
%prep
%autosetup -n lukeparser-0.3.28
%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-lukeparser -f filelist.lst
%dir %{python3_sitearch}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Tue Apr 25 2023 Python_Bot - 0.3.28-1
- Package Spec generated