From 890a83c29fa1902df3421b140b86ab3b8b960644 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 12 Apr 2019 04:31:58 -0300 Subject: [PATCH] python-networkx: don't build python3-networkx --- srcpkgs/python-networkx/template | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/srcpkgs/python-networkx/template b/srcpkgs/python-networkx/template index 609940ff97..f209d8d2b1 100644 --- a/srcpkgs/python-networkx/template +++ b/srcpkgs/python-networkx/template @@ -3,29 +3,18 @@ pkgname=python-networkx version=2.2 revision=1 archs=noarch -build_style=python-module wrksrc="networkx-${version}" +build_style=python2-module pycompile_module="networkx" -hostmakedepends="python-setuptools python3-setuptools unzip" +hostmakedepends="python-setuptools unzip" depends="python-decorator" short_desc="Python2 package for creating and manipulating graphs and networks" maintainer="Peter Bui " -homepage="https://networkx.github.io/" license="BSD-3-Clause" +homepage="https://networkx.github.io/" distfiles="${PYPI_SITE}/n/networkx/networkx-${version}.zip" checksum=45e56f7ab6fe81652fb4bc9f44faddb0e9025f469f602df14e3b2551c2ea5c8b post_install() { vlicense LICENSE.txt } - -python3-networkx_package() { - archs=noarch - pycompile_module="networkx" - depends="python3-decorator" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE.txt - } -}