diff options
Diffstat (limited to 'community/py3-sphinx-copybutton/APKBUILD')
-rw-r--r-- | community/py3-sphinx-copybutton/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/py3-sphinx-copybutton/APKBUILD b/community/py3-sphinx-copybutton/APKBUILD new file mode 100644 index 00000000000..67cd8a30a95 --- /dev/null +++ b/community/py3-sphinx-copybutton/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: messense <messense@icloud.com> +# Maintainer: messense <messense@icloud.com> +pkgname=py3-sphinx-copybutton +pkgver=0.5.2 +pkgrel=1 +pkgdesc="Add a copy button to code blocks" +url="https://github.com/executablebooks/sphinx-copybutton" +arch="noarch" +license="MIT" +depends=" + py3-sphinx + python3 + " +makedepends="py3-setuptools" +subpackages="$pkgname-pyc" +source="https://pypi.python.org/packages/source/s/sphinx-copybutton/sphinx-copybutton-$pkgver.tar.gz" +options="!check" # No tests +builddir="$srcdir/sphinx-copybutton-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --skip-build --root="$pkgdir" +} + +sha512sums=" +83f61526d8a20f70b0de63a5bad89ed4ae4f3cf5cd589f1a1e2e91f08f4d45a05acf780a4cf3703d4490ab93c9c9bb18c11d3170b8011c2254aab0334940ab2d sphinx-copybutton-0.5.2.tar.gz +" |