Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 88364780DAF for <~alpine/aports@lists.alpinelinux.org>; Fri, 10 Dec 2021 12:47:31 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvin.dev; s=key1; t=1639140083; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2ouIZoyV+B19sSLPegJ1ZGwe7IP0qTmSFTp1wjQatII=; b=qXvXQi7/IE/o5xY48Rch197Warwb9kavqC1T14VKR/+FjSXgQbB7giSHxTtO2wESAB/i2/ RN0Oc+L3MOkCCztnKlkWHEIfap2X8+ZFxJa5XcnB+P8b1hJzE5qyGHf6lRICVPVZu/jH7y SRvkdCw+2x7/BLctQBE96z01obhwUn8= From: Dhruvin Gandhi To: ~alpine/aports@lists.alpinelinux.org Cc: Dhruvin Gandhi Subject: [PATCH 2/3] testing/py3-sphinx-click: add aport Date: Fri, 10 Dec 2021 18:11:10 +0530 Message-Id: <20211210124111.488-3-contact@dhruvin.dev> In-Reply-To: <20211210124111.488-1-contact@dhruvin.dev> References: <20211210124111.488-1-contact@dhruvin.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: contact@dhruvin.dev --- testing/py3-sphinx-click/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/py3-sphinx-click/APKBUILD diff --git a/testing/py3-sphinx-click/APKBUILD b/testing/py3-sphinx-click/APKBUILD new file mode 100644 index 0000000000..2632b995ff --- /dev/null +++ b/testing/py3-sphinx-click/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Dhruvin Gandhi +# Maintainer: Dhruvin Gandhi +pkgname=py3-sphinx-click +_pyname=sphinx-click +pkgver=3.0.2 +pkgrel=0 +pkgdesc="Sphinx plugin to extract documentation from click-based applications" +url="https://github.com/click-contrib/sphinx-click" +arch="noarch" +license="MIT" +depends="python3 py3-sphinx py3-click py3-docutils" +makedepends="py3-setuptools py3-pbr" +checkdepends="py3-pytest py3-click py3-coverage" +source="https://files.pythonhosted.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" +builddir="$srcdir/$_pyname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + pytest +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums=" +dcf60ca31dcc7c1f45157ed88a5d723d8b531f01b617fb0cc4ada8f09c709b23b55a86bcf8bbe66bf4c2f5ef77329123d271724887022a43b86747087e87ed7c sphinx-click-3.0.2.tar.gz +" -- 2.34.1