55 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
| name='python3-markdown-it-py'
 | |
| version='4.0.0'
 | |
| release='5'
 | |
| desc='Python port of markdown-it. Markdown parsing, done right'
 | |
| desc_ru='Библиотека Python для правильного парсинга Markdown'
 | |
| homepage='https://github.com/executablebooks/markdown-it-py'
 | |
| maintainer='Evgeny Khramov <xpamych@yandex.ru>'
 | |
| maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
 | |
| architectures=('all')
 | |
| license=('MIT')
 | |
| provides=('markdown-it-py')
 | |
| conflicts=('markdown-it-py')
 | |
| 
 | |
| deps=('python3')
 | |
| 
 | |
| deps_alt=('python3')
 | |
| deps_arch=('python')
 | |
| deps_debian=('python3')
 | |
| deps_fedora=('python3')
 | |
| deps_redos=('python3')
 | |
| deps_rhel=('python3')
 | |
| deps_rosa=('python3')
 | |
| deps_alpine=('python3')
 | |
| 
 | |
| build_deps=('python3' 'python3-pip')
 | |
| 
 | |
| build_deps_alt=('python3' 'python3-module-pip')
 | |
| build_deps_arch=('python' 'python-pip')
 | |
| build_deps_debian=('python3' 'python3-pip')
 | |
| build_deps_fedora=("${build_deps[@]}")
 | |
| build_deps_redos=("${build_deps[@]}")
 | |
| build_deps_rhel=("${build_deps[@]}")
 | |
| build_deps_rosa=("${build_deps[@]}")
 | |
| build_deps_alpine=('python3' 'py3-pip')
 | |
| 
 | |
| opt_deps=('python3-mdit-py-plugins: коллекция плагинов для markdown-it-py')
 | |
| 
 | |
| sources=("https://files.pythonhosted.org/packages/source/m/markdown-it-py/markdown_it_py-${version}.tar.gz")
 | |
| checksums=('blake2b-256:5bf54ec618ed16cc4f8fb3b701563655a69816155e79e24a17b651541804721d')
 | |
| 
 | |
| build() {
 | |
|   cd "$srcdir/markdown_it_py-${version}"
 | |
|   python -m build --wheel --no-isolation
 | |
| }
 | |
| 
 | |
| package() {
 | |
|         cd "$srcdir/markdown_it_py-${version}"
 | |
|         pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
 | |
| }
 | |
| 
 | |
| files() {
 | |
|     files-find "./usr/local/bin"
 | |
|     files-find "./usr/local/lib/python3.*/site-packages/markdown_it"
 | |
|     files-find "./usr/local/lib/python3.*/site-packages/markdown_it_py-*.dist-info"
 | |
| } |