X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-qt0-f170.google.com (mail-qt0-f170.google.com [209.85.216.170]) by lists.alpinelinux.org (Postfix) with ESMTP id 7DEA75C5572 for ; Sun, 20 Aug 2017 23:33:37 +0000 (GMT) Received: by mail-qt0-f170.google.com with SMTP id x36so7330765qtx.2 for ; Sun, 20 Aug 2017 16:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=onh5LT9svjmTd0lA2/RnBiB0rqGn97DvFXx7uhHcGNY=; b=CzBjDWUT2VSEnawDEijUi9WX5dLxhmKxYjLHaNLvvBjj05bki+1tuEUK6DA2/2WX3O WFxC4FzKGN6YH/De+qk3XSumaMGulQspUcGTLVowZFb3DXv28Msr6oTneMo3/v0eUtdK IHk54pa6xmHMuPtb6VxzjVx6bH6EittedycZ/H9EshFIDjar2aKEgwgF/S9SqdYA0Oz7 WpRWrPVxgQstb30Sxl/lN1wIGWHM8xDTUNQYpRBgpb29Ef3jLNWc+VRyGqLJw+g2LO6A wROM3qXg77gjsaQpEGBZVx/oYkjYyXg3X1eCjmdvEZeHMsF94Zh68skMWAQCX4siWxZy hUTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=onh5LT9svjmTd0lA2/RnBiB0rqGn97DvFXx7uhHcGNY=; b=QS71P7dXnLUaOFjjJV4vjpvaz2HpNJqLYIK+2/9awgDiTuBmrRZHm2j19ceFObGXvT PHSiVWw4a5n8JH3Yiefc1KFfBObMX6WeikopgCMOMZxxNLH7Ie6btvVgiMYEilSD3u4T h3rXESN8pzJuyxLEAYoToSyJH4vAX5aGpfacd6VDjEsPIQLZX589pPuuVAhs43/PsDL/ e2dttVHpDeLCTUs2UZN0WPjlYpseoN4RuWZpkjQZ8bH7a4V0HqGH/4Tum3UBCDyxYB5D Z3TQqbRG2y+t0uw9kILS7FByI5qEOatc46xcct3bip5+auR0G7jVGRpnNMwMCEuxKBgF 506A== X-Gm-Message-State: AHYfb5hk86AFDlMM/53Z3Whf4GD5hHDJ2qb84+fpChMSKWQsz5ipSPAB yMqWQ65JU/pHjv7Lco0= X-Received: by 10.200.35.221 with SMTP id r29mr20621913qtr.115.1503272016836; Sun, 20 Aug 2017 16:33:36 -0700 (PDT) Received: from gmail.com ([67.205.145.156]) by smtp.gmail.com with ESMTPSA id n81sm7197925qki.55.2017.08.20.16.33.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Aug 2017 16:33:36 -0700 (PDT) Date: Sun, 20 Aug 2017 23:33:34 +0000 From: Paul Morgan To: =?iso-8859-1?Q?S=F6ren?= Tempel Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] testing/createrepo_c: new aport Message-ID: <20170820233333.GB23286@gmail.com> References: <20170820211152.GA20563@gmail.com> <20170820221638.o5yexog4gaclifv4@francium> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20170820221638.o5yexog4gaclifv4@francium> X-Editor: VIM - Vi IMproved 8.0 X-Mailer: Mutt 1.8.3 X-do-not-ask: 0xf59e77c2 X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF59E77C2 User-Agent: Mutt/1.8.3 (2017-05-23) On Mon, Aug 21, 2017 at 12:16:38AM +0200, S=F6ren Tempel wrote: > Hey, >=20 > First of all: Thanks for your patch. I added some feedback below: >=20 > On 20.08.17, Paul Morgan wrote: > > +# This is not ideal, but it allows to create package with recent commi= ts. > > +# git_describe=3D"0.10.0-48-g0cac54d" > > +treeish=3D"0cac54d09b5a2140b625cabad95dc48898e25cdd" > > +upstream_tag=3D0.10.0 > > +commits_since=3D48 >=20 > Is there any reason why you use the tarball created for the commit > instead of using the tarball created for the git-tag? Normally, we > prefer the latter. The 0.10.0 tag was released nearly two years ago. There've been 48 commits since then. Some of these commits are important, so the idea is to use this ugly kludge until upstream tags a new release. > For this release the tarball is located at: https://github.com/rpm-softwa= re-management/createrepo_c/archive/0.10.0.tar.gz >=20 > > +pkgver=3D${upstream_tag}.${commits_since} >=20 > I would suggest setting the $pkgver to '0.10.0'. Are you amenable to the existing 0.10.0.48 version for the reason offered above? > > +makedepends=3D" > > + alpine-sdk > > + bash-completion > > + bzip2-dev > > + cmake > > + curl-dev > > + doxygen > > + expat-dev > > + file-dev > > + glib-dev > > + libressl-dev > > + libxml2-dev > > + musl-dev > > + py2-sphinx > > + python2-dev > > + rpm-dev > > + scanelf > > + sqlite-dev > > + xz-dev > > + zlib-dev > > + " >=20 > The alpine-sdk and musl-dev dependency are always pulled in by default, > they don't need to be added to $makedepends explicitly. GTK. I'll rework the patch without those. > Besides, we usually group multiple dependencies in one line, at least as > long as that line doesn't exceed 80 characters. Ah, I do that to avoid future diff churn. > > +subpackages=3D" > > + ${pkgname}-dev-doc:devdoc:noarch >=20 > We don't offer doc subpackages for subpackages. A package should only > have a single doc subpackage. Ack. I'll remove the dev docs. > > + # https://cmake.org/Wiki/CMake_RPATH_handling#Always_full_RPATH > > + cmake .. \ > > + -DCMAKE_BUILD_TYPE=3DRelease \ > > + -DCMAKE_INSTALL_PREFIX=3D/usr \ > > + -DCMAKE_INSTALL_LIBDIR=3Dlib \ > > + -DCMAKE_SKIP_BUILD_RPATH=3Dfalse \ > > + -DCMAKE_BUILD_WITH_INSTALL_RPATH=3Dfalse \ > > + -DCMAKE_INSTALL_RPATH=3D/usr/lib \ > > + -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=3Dtrue \ > > + -DPYTHON_DESIRED=3D2 \ > > + || return 1 > > + > > + # Build binaries plus user docs. > > + make || return 1 > > + > > + # Build dev docs. > > + make doc || return 1 >=20 > Explicit `|| return 1` statements are no longer needed since abuild runs > with `set -e` nowadays. GTK. I'll remove those too. Cheers, -paul --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---