Subject: [alpine-aports] [PATCH] main/py-pygments: add py-setuptools as a dependency

From: Christian Kampka <[email-masked]>
Date: Thu, 24 Dec 2015 15:46:44 +0100

py-setuptools includes the pkg_resources which is used by pygments to discover and load plugins.
It is therefore insufficient to include it only as a build dependency.
Also python-dev is only required as a build dependency when building c libs against python, not for packagaging plain python modules.
---
 main/py-pygments/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main/py-pygments/APKBUILD b/main/py-pygments/APKBUILD
index 5744554..056f824 100644
--- a/main/py-pygments/APKBUILD
+++ b/main/py-pygments/APKBUILD
@@ -3,13 +3,13 @@
 pkgname=py-pygments
 _pkgname=Pygments
 pkgver=2.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A syntax highlighting package written in Python."
 url="http://pygments.org/"
 arch="noarch"
 license="BSD"
-depends="python"
-makedepends="python-dev py-setuptools"
+depends="python py-setuptools"
+makedepends=""
 install=""
 subpackages="$pkgname-doc"
 source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-- 
2.6.4

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---