X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail.cmpwn.com (mail.cmpwn.com [45.56.77.53]) by lists.alpinelinux.org (Postfix) with ESMTP id 70F63F85691 for ; Sun, 30 Jun 2019 18:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cmpwn.com; s=cmpwn; t=1561919073; bh=6Kmsvlfq8eCOuFqPn+Qiqry1h0YLnp2DloQC6dBBbag=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=JDUgp+HmWDiuDRrYPZp8Sblgce61wWZIndfFD+rU+eki0TL1Xicwwn85oO9JZnmiJ RpPxVSs2kb5jyrIMoOZzXHEaXoZLA3WjPeDNeWecGc72NWg2Y3vUvpAB5hhvtOHY7v 6NAFpripVe6wKSIGhMqgkjRQ0DJ4N0aF/bforOCw= From: Drew DeVault To: alpine-aports@lists.alpinelinux.org Cc: Drew DeVault Subject: [alpine-aports] [PATCH 2/2] testing/py3-pytest-isort: new APKBUILD Date: Sun, 30 Jun 2019 14:24:31 -0400 Message-Id: <20190630182431.23554-2-sir@cmpwn.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190630182431.23554-1-sir@cmpwn.com> References: <20190630182431.23554-1-sir@cmpwn.com> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit --- testing/py3-pytest-isort/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testing/py3-pytest-isort/APKBUILD diff --git a/testing/py3-pytest-isort/APKBUILD b/testing/py3-pytest-isort/APKBUILD new file mode 100644 index 0000000000..6faaf10d83 --- /dev/null +++ b/testing/py3-pytest-isort/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Drew DeVault +pkgname=py3-pytest-isort +_pyname=pytest-isort +pkgver=0.3.1 +pkgrel=0 +pkgdesc="pytest plugin to check import ordering using isort" +url="https://pypi.org/project/pytest-isort/" +arch="noarch" +license="3-Clause-BSD" +depends="py3-pytest py3-isort" +makedepends="py3-setuptools" +_pypiprefix="${_pyname%${_pyname#?}}" +source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" +builddir="$srcdir/$_pyname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + export PYTHONPATH="$(pwd)" + pytest-3 +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="2fd39108a6acacf18ce68bb537d2adeb4ff7cd8ea4c9611e5312edea5a0bc4841111ffb544318aa7b3bebe38e9f4744f07a45b2ebcbf872f79003b249ee115ca pytest-isort-0.3.1.tar.gz" -- 2.22.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---