Received: from singpolyma.net (singpolyma.net [192.99.233.116]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 184A3780FD4 for <~alpine/aports@lists.alpinelinux.org>; Thu, 31 Dec 2020 02:53:36 +0000 (UTC) Received: by singpolyma.net (Postfix, from userid 1000) id F369D48614BD; Thu, 31 Dec 2020 02:48:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1609382895; bh=CBkZrCR7pxEAEPZ2ZShT1iCTPQDGRoabeGRT9/nIBuA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qw0zzRab2GITibDghpOXSME1Y3tpuWwi/+t9ZdAkBMN1zknc1Zt/1ij1frVblYraT foSSKsoPnbejKnApVMdW6eIWqWNxd09Iztm6ek6r8fRsY9BoUXWAQ5f21Hr3WUjsR7 pcI8elsogHjXIaxf87sUntq7hMmgejJEcFjn3FSw= From: Stephen Paul Weber To: ~alpine/aports@lists.alpinelinux.org Cc: Stephen Paul Weber Subject: [PATCH 2/3] unmaintained/py3-css-parser: new aport Date: Wed, 30 Dec 2020 21:47:47 -0500 Message-Id: <20201231024748.29585-2-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201231024748.29585-1-singpolyma@singpolyma.net> References: <20201231024748.29585-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://github.com/ebook-utils/css-parser A CSS Cascading Style Sheets library for Python --- unmaintained/py3-css-parser/APKBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 unmaintained/py3-css-parser/APKBUILD diff --git a/unmaintained/py3-css-parser/APKBUILD b/unmaintained/py3-css-parser/APKBUILD new file mode 100644 index 0000000000..9cb6bb1a45 --- /dev/null +++ b/unmaintained/py3-css-parser/APKBUILD @@ -0,0 +1,24 @@ +# Maintainer: +pkgname=py3-css-parser +_pkgname=css-parser +pkgver=1.0.6 +pkgrel=1 +pkgdesc="A CSS Cascading Style Sheets library for Python" +url="https://github.com/ebook-utils/css-parser" +arch="noarch" +license="LGPL-3.0-or-later" +depends="python3" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +options="!check" # no test suite +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="4c623541e1145c91458e7e2028f6a0de652ae2189dc99672fc72f098799d6349edb051bafc0901258481fa3422346303d2ef634392889ee83a29814609cdbd43 css-parser-1.0.6.tar.gz" -- 2.29.2