Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id EAC437816F4 for <~alpine/aports@lists.alpinelinux.org>; Tue, 20 Oct 2020 02:23:44 +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=cmpwn.com; s=key1; t=1603160622; 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=sthGMjk3BltR3LgaGkI2aa9C3MqE1fexdBC6sWfcfCs=; b=Geex5PwRQTFB/dN5aVc4q+ZZqDQ3L2KK5tjgvdZs05+eqjUX7+RGKFKgWBmeS8Kjx5gyqX NeEnCTlzrVVcReeyQisso2Av/afb4jrLkFDM4ASSA2D9LTzqu+tCAg6jzxEX9t9Cg2HLco l7Mm93+HE2Dr8W4JD/uzHxlWOKjbG6ldKRd99HdJrEyRiY5ja1JOq7OqbAAdFCMLcmoiBk COs0ICgI/4+NH2GfARwsGGmleswFgTQb0rk2rHX8CvySrCfbErE1uSunQ2cpxJ9DQJ1PFz UW8dCoJWvQvkNFwa4fvzSapLH6Tb2o73Ve9R57xUu64K7wEktcetjTlhc26Fjg== From: Drew DeVault To: ~alpine/aports@lists.alpinelinux.org Cc: Drew DeVault Subject: [PATCH 1/5] testing/py3-dict2xml: new aport Date: Mon, 19 Oct 2020 22:23:33 -0400 Message-Id: <20201020022337.3724-2-sir@cmpwn.com> In-Reply-To: <20201020022337.3724-1-sir@cmpwn.com> References: <20201020022337.3724-1-sir@cmpwn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.00 --- testing/py3-dict2xml/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/py3-dict2xml/APKBUILD diff --git a/testing/py3-dict2xml/APKBUILD b/testing/py3-dict2xml/APKBUILD new file mode 100644 index 0000000000..1256a3733d --- /dev/null +++ b/testing/py3-dict2xml/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Drew DeVault +pkgname=py3-dict2xml +_pyname=dict2xml +pkgver=1.7.0 +pkgrel=0 +pkgdesc="Small utility to convert a python dictionary into an XML string" +url="https://github.com/delfick/python-dict2xml" +arch="noarch" +license="MIT" +depends="python3" +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() { + python3 setup.py check +} + +package() { + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="7ed2af3facc81d70b1ccb1a1ffacdd7f72a38b7435048f170f657e8b48f3f9a144238df93e577ea8d3bfae019edfbbe35da7b2e7cd82fbb8f59cd3f646ac6a6e dict2xml-1.7.0.tar.gz" -- 2.28.0