Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

I've got a bad feeling about this.


devel / comp.lang.python / Re: virtualenv and make DESTDIR=

SubjectAuthor
o Re: virtualenv and make DESTDIR=Barry

1
Re: virtualenv and make DESTDIR=

<mailman.219.1646604288.2329.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17408&group=comp.lang.python#17408

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: bar...@barrys-emacs.org (Barry)
Newsgroups: comp.lang.python
Subject: Re: virtualenv and make DESTDIR=
Date: Sun, 6 Mar 2022 22:04:43 +0000
Lines: 38
Message-ID: <mailman.219.1646604288.2329.python-list@python.org>
References: <20220306165055.xaflsr7lczdzabfa@hjp.at>
<30C773FD-B546-44F9-93A7-AC221063B146@barrys-emacs.org>
Mime-Version: 1.0 (1.0)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de SYr/C92MiNfA1WJgpNTRjAJAQZJLukhVx+95YwzbDSLA==
Return-Path: <barry@barrys-emacs.org>
X-Original-To: Python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pip': 0.04; '2022': 0.05;
'mar': 0.07; 'cc:addr:python-list': 0.09; 'dependencies': 0.09;
'from:addr:barry': 0.09; 'received:217.70': 0.09;
'received:217.70.178': 0.09; 'received:gandi.net': 0.09;
'received:mail.gandi.net': 0.09; "shouldn't": 0.09; 'cc:no real
name:2**0': 0.14; 'url:mailman': 0.15; '"creative': 0.16; '2022,':
0.16; '__/': 0.16; 'barry': 0.16; 'build.': 0.16; 'challenge!"':
0.16; 'from:addr:barrys-emacs.org': 0.16; 'hjp@hjp.at': 0.16;
'holzer': 0.16; 'message-id:@barrys-emacs.org': 0.16; 'reality.':
0.16; 'spec': 0.16; 'stross,': 0.16; 'url-ip:212.17.106.137/32':
0.16; 'url-ip:212.17.106/24': 0.16; 'url-ip:212.17/16': 0.16;
'url:hjp': 0.16; '|_|_)': 0.16; 'wrote:': 0.16; 'pull': 0.17;
"can't": 0.17; "aren't": 0.19; 'cc:addr:python.org': 0.20; 'sat,':
0.22; 'install': 0.23; 'run': 0.23; 'url-ip:188.166.95.178/32':
0.25; 'url-ip:188.166.95/24': 0.25; 'url:listinfo': 0.25;
'cannot': 0.25; 'cc:2**0': 0.25; 'url-ip:188.166/16': 0.25;
'local': 0.27; '>>>': 0.28; 'sense': 0.28; 'packages': 0.31; 'url-
ip:188/8': 0.31; 'disabled': 0.32; 'package': 0.34; 'header:In-
Reply-To:1': 0.34; 'file': 0.38; 'use': 0.39; 'should': 0.40;
'true': 0.63; 'skip:b 10': 0.63; 'security': 0.64; 'received:217':
0.67; 'url-ip:212/8': 0.69; 'note:': 0.71; '(that': 0.84; 'scott':
0.84; 'subject:make': 0.84; 'sulla': 0.84
In-Reply-To: <20220306165055.xaflsr7lczdzabfa@hjp.at>
X-Mailer: iPad Mail (19D52)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <30C773FD-B546-44F9-93A7-AC221063B146@barrys-emacs.org>
X-Mailman-Original-References: <20220306165055.xaflsr7lczdzabfa@hjp.at>
 by: Barry - Sun, 6 Mar 2022 22:04 UTC

> On 6 Mar 2022, at 16:53, Peter J. Holzer <hjp-python@hjp.at> wrote:
>
> On 2022-03-05 17:59:48 +0100, Marco Sulla wrote:
>>> On Sat, 5 Mar 2022 at 17:36, Barry Scott <barry@barrys-emacs.org> wrote:
>>> Note: you usually cannot use pip when building an RPM with mock as the network is disabled inside the build for
>>> security reasons.
>>
>> Can't he previously download the packages and run pip on the local packages?
>
> That shouldn't be necessary. Any packages needed by that new package
> should be dependencies of that package, so they must also already exist
> as RPMs. The rpm build process will automatically install them if they
> aren't already.
>
> (That may not be true for build dependencies, though.)

In the spec file use BuildRequires: to pull in an rpm package that is needed to do the build.
For example python3-setuptools.

Barry

>
> hp
>
> --
> _ | Peter J. Holzer | Story must make more sense than reality.
> |_|_) | |
> | | | hjp@hjp.at | -- Charles Stross, "Creative writing
> __/ | http://www.hjp.at/ | challenge!"
> --
> https://mail.python.org/mailman/listinfo/python-list


devel / comp.lang.python / Re: virtualenv and make DESTDIR=

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor