All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 03/11] package/python-simplegeneric: Switch setup type to 'setuptools'
Date: Fri,  2 Jun 2017 16:56:45 -0700	[thread overview]
Message-ID: <20170602235653.4655-4-andrew.smirnov@gmail.com> (raw)
In-Reply-To: <20170602235653.4655-1-andrew.smirnov@gmail.com>

Specifying setup type to be 'distutils' results in this package being
installed as .egg, a zipped file, which inadvertantly makes
'simplegeneric' to be dependent on BR2_PACKAGE_PYTHON*_ZLIB. In order
to avoid that specify setup type to be 'setuptools' which would use
--single-version-externally-managed and install the package as .pyc
and a .egg-info folder.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/python-simplegeneric/python-simplegeneric.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/python-simplegeneric/python-simplegeneric.mk b/package/python-simplegeneric/python-simplegeneric.mk
index 556a478..1d195c3 100644
--- a/package/python-simplegeneric/python-simplegeneric.mk
+++ b/package/python-simplegeneric/python-simplegeneric.mk
@@ -8,7 +8,13 @@ PYTHON_SIMPLEGENERIC_VERSION = 0.8.1
 PYTHON_SIMPLEGENERIC_SOURCE = simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION).zip
 PYTHON_SIMPLEGENERIC_SITE = https://pypi.python.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b
 PYTHON_SIMPLEGENERIC_LICENSE = ZPL-2.1
-PYTHON_SIMPLEGENERIC_SETUP_TYPE = distutils
+#
+# Force setup-type to be 'setuptools' in order to force package to be
+# installed with --single-version-externally-managed. Otherwise we'll
+# end up wit a .egg file, which is a zip archive, and as such forces
+# use to have 'zlib' as a runtime dependency
+#
+PYTHON_SIMPLEGENERIC_SETUP_TYPE = setuptools
 
 define PYTHON_SIMPLEGENERIC_EXTRACT_CMDS
 	unzip $(DL_DIR)/$(PYTHON_SIMPLEGENERIC_SOURCE) -d $(@D)
-- 
2.9.4

  parent reply	other threads:[~2017-06-02 23:56 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-02 23:56 [Buildroot] [PATCH v3 00/11] Update IPython's dependencies Andrey Smirnov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 01/11] DEVELOPERS: Add missing closing angle bracket to my e-mail Andrey Smirnov
2017-06-09 19:34   ` Yegor Yefremov
2017-06-11 12:49   ` Thomas Petazzoni
2017-06-02 23:56 ` [Buildroot] [PATCH v3 02/11] package/python-enum34: Switch setup type to 'setuptools' Andrey Smirnov
2017-06-03  5:23   ` Yegor Yefremov
2017-06-05 13:02     ` Andrey Smirnov
2017-06-05 13:08       ` Thomas Petazzoni
2017-06-05 13:37         ` Andrey Smirnov
2017-06-02 23:56 ` Andrey Smirnov [this message]
2017-06-09 19:36   ` [Buildroot] [PATCH v3 03/11] package/python-simplegeneric: " Yegor Yefremov
2017-06-11 12:50   ` Thomas Petazzoni
2017-06-11 21:52     ` Peter Korsgaard
2017-06-02 23:56 ` [Buildroot] [PATCH v3 04/11] package/python-ipython-genutils: New package Andrey Smirnov
2017-06-09 19:03   ` Yegor Yefremov
2017-06-10  9:03     ` Arnout Vandecappelle
2017-06-10  9:38       ` Yegor Yefremov
2017-06-11 13:04     ` Thomas Petazzoni
2017-06-11 13:02   ` Thomas Petazzoni
2017-06-02 23:56 ` [Buildroot] [PATCH v3 05/11] package/python-traitlets: " Andrey Smirnov
2017-06-09 19:33   ` Yegor Yefremov
2017-06-12 21:11     ` Andrey Smirnov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 06/11] package/python-scandir: " Andrey Smirnov
2017-06-09 19:18   ` Yegor Yefremov
2017-06-09 19:24     ` Yegor Yefremov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 07/11] package/python-pathlib2: " Andrey Smirnov
2017-06-09 19:23   ` Yegor Yefremov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 08/11] package/python-pickleshare: " Andrey Smirnov
2017-06-09 19:29   ` Yegor Yefremov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 09/11] package/python-backports-shutil-get-terminal-size: " Andrey Smirnov
2017-06-09 19:39   ` Yegor Yefremov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 10/11] package/python-ipython: Add dependecy list Andrey Smirnov
2017-06-09 19:35   ` Yegor Yefremov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 11/11] python-ipython: bump to version 5.4.0 Andrey Smirnov
2017-06-09 19:40   ` Yegor Yefremov
2017-06-11 13:07     ` Thomas Petazzoni
2017-06-12 20:22       ` Andrey Smirnov
2017-06-12 20:26         ` Thomas Petazzoni
2017-06-11 13:08 ` [Buildroot] [PATCH v3 00/11] Update IPython's dependencies Thomas Petazzoni
2017-06-12 20:29   ` Andrey Smirnov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170602235653.4655-4-andrew.smirnov@gmail.com \
    --to=andrew.smirnov@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.