2018-06-12 03:56:16 +00:00
|
|
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2019-03-19 12:45:11 +00:00
|
|
|
# - removed dependency on python-pypandoc
|
2018-06-12 03:56:16 +00:00
|
|
|
|
2019-03-19 12:45:11 +00:00
|
|
|
pkgname=python-setuptools-markdown
|
2019-08-28 12:36:36 +00:00
|
|
|
pkgver=0.4.1
|
|
|
|
_commit=34ed6276e0c8bcefcd967bd8db138546a270bdf4
|
2023-05-03 19:07:01 +00:00
|
|
|
pkgrel=9
|
2018-06-12 03:56:16 +00:00
|
|
|
pkgdesc="Use Markdown for your project description"
|
|
|
|
arch=('any')
|
|
|
|
url="https://github.com/msabramo/setuptools-markdown"
|
|
|
|
license=('MIT')
|
2019-03-19 12:45:11 +00:00
|
|
|
depends=('python-setuptools')
|
2022-09-24 15:05:31 +00:00
|
|
|
source=("$pkgname-$_commit.tar.gz::https://github.com/msabramo/setuptools-markdown/archive/$_commit.tar.gz"
|
|
|
|
$pkgname-pypandoc-1.8.patch::https://github.com/msabramo/setuptools-markdown/pull/21.patch)
|
|
|
|
sha512sums=('394bf37e53bcdb702f44749eb5bfa156aa11df310e603a034af38d8ca47d8f5231b76eacec6049cf3c7615031eca7b4238670555fcf9835723beb6f3b7f9496c'
|
|
|
|
'0da7fd152ca93dc8d5b852dedc60e10a825af5adaa64afd490e3e0674431d67ad456305464db3de0e5581ecb883da59dd91b8af575d03d9dff2f3e681cc30914')
|
2018-06-12 03:56:16 +00:00
|
|
|
|
|
|
|
prepare() {
|
2019-03-19 12:45:11 +00:00
|
|
|
mv setuptools-markdown-{$_commit,$pkgver}
|
2022-09-24 15:05:31 +00:00
|
|
|
patch -d setuptools-markdown-$pkgver -p1 < $pkgname-pypandoc-1.8.patch
|
2018-06-12 03:56:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2019-03-19 12:45:11 +00:00
|
|
|
cd setuptools-markdown-$pkgver
|
2018-06-12 03:56:16 +00:00
|
|
|
python setup.py build
|
|
|
|
}
|
|
|
|
|
2019-03-19 12:45:11 +00:00
|
|
|
package() {
|
|
|
|
cd setuptools-markdown-$pkgver
|
2018-06-12 03:56:16 +00:00
|
|
|
python setup.py install --root "$pkgdir"
|
|
|
|
}
|