diff options
author | Joshua Haase | 2021-06-28 20:56:39 -0500 |
---|---|---|
committer | Joshua Haase | 2021-07-05 14:24:26 -0500 |
commit | bb99cad3802104fef06ed8cc49139f3f08c4bd6d (patch) | |
tree | 10db1288b7c4a20a816887973232f62e91a3c39c | |
download | aur-bb99cad3802104fef06ed8cc49139f3f08c4bd6d.tar.gz |
manubot 0.5.1
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..47b6a5536d60 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = manubot + pkgdesc = a set of tools for the next generation of scholarly publishing. + pkgver = 0.5.1 + pkgrel = 1 + url = https://manubot.org/ + arch = any + license = BSD2-patent + checkdepends = python-pytest + makedepends = git + makedepends = python-setuptools + depends = python-errorhandler + depends = python-isbnlib + depends = python-jinja2 + depends = python-jsonschema + depends = python-panflute + depends = python-pybase62 + depends = python-pyaml + depends = python-ratelimiter + depends = python-requests + depends = python-requests-cache + depends = python-toml + source = manubot::git+https://github.com/manubot/manubot#tag=v0.5.1 + validpgpkeys = 4AEE18F83AFDEB23 + md5sums = SKIP + +pkgname = manubot diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b0bb1e6efa69 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Joshua Haase <hahj87@gmail.com> +pkgname=manubot +pkgver=0.5.1 +pkgrel=1 +pkgdesc="a set of tools for the next generation of scholarly publishing." +arch=('any') +url="https://manubot.org/" +license=('BSD2-patent') +_pydeps=( + 'errorhandler' + 'isbnlib' + 'jinja2' + 'jsonschema' + 'panflute' + 'pybase62' + 'pyaml' + 'ratelimiter' + 'requests' + 'requests-cache' + 'toml' +) +depends=("${_pydeps[@]/#/python-}") +makedepends=('git' 'python-setuptools') +checkdepends=('python-pytest') +source=("${pkgname}::git+https://github.com/manubot/manubot#tag=v${pkgver}") +md5sums=('SKIP') +validpgpkeys=('4AEE18F83AFDEB23') + +build() { + cd "$pkgname" + python setup.py build +} + +check() { + cd "$pkgname" + pytest +} + +package() { + cd "$pkgname" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |