From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3823E1382C5 for ; Sat, 12 May 2018 19:50:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9003E0B9A; Sat, 12 May 2018 19:50:06 +0000 (UTC) Received: from mail-pg0-x22d.google.com (mail-pg0-x22d.google.com [IPv6:2607:f8b0:400e:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D7A0E0B48 for ; Sat, 12 May 2018 19:50:06 +0000 (UTC) Received: by mail-pg0-x22d.google.com with SMTP id e1-v6so3812842pga.6 for ; Sat, 12 May 2018 12:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sysdump.net; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version; bh=Uyu6Yg3cMfA9FamYUwYKzHzFZN8LVGXgqoIzotj/HIs=; b=E5rKpO/d3cSBq0niGssPYLbwqE1QpF6Ac7A/Fof4ncsHer3Z3pa2TpqPz545Y60Y3w QAECTLoDrt4UsdXIrL/3Nj8HGYXK7Muepmr4vhq0twePdtJWaaSItpRQKai9Xtn4FtBs CcIDAlaSrfQ4Ay6zEp8l2iG16A5rMB+jatYZjjoS7gcIOzZTFqtA5uC1OTQvBwuiQdgq oYB869NZDaEDMJDgBf4NO6V6CvfqJrUfWdexHCd3CadMk2/Dcwn3+6kyBYP+e+7HSL8e j85aUuCKxfw3qc0UCvvBa+TIqwGR7a6nnU6H/I3/9A/EVJGpsJn6R7rDDhkxmsvpIw3E zHsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version; bh=Uyu6Yg3cMfA9FamYUwYKzHzFZN8LVGXgqoIzotj/HIs=; b=Pjo+p4Q4MzqBf/8FbRn87tVwM7vybCypMhvUC1Ri60ARLZffJnqNDEY3OuuT0hNPyl wK9aA6+YnP3v8jbKB9uaprrELf5e9RJDllB2xSrPIiHc4QuV4CvBTgmW1eTdiB3Mh7v+ TyRFC0zj7O6MHudOYG+TNIBaoVDv6gkAoplinIgJru/HAlYoxrFuTJeT8IM3/0SctG+/ pYKlmbIY428mI1FOVlrsq+ezav822+IVuVJYkuNadU1k6kl5aXOJkHhE/1TfZ9xu8O8q KTk221udRteHiJHuWx5B/ZsDKsMF4BGHjJWYeSCWq6wmPMNBvWLh0GdoNv6D0+1fxx8s vY7A== X-Gm-Message-State: ALKqPwcbDtyOPE1CKViXSUCubZpUekAzqYIeILL5mAp84qA+Az2Bc4O+ eOjFBP0nONTuthEAcCACjzArwBOoU0w= X-Google-Smtp-Source: AB8JxZq0wwioqfBuOtpiRwmsJj42iYko/VnIlisZflGfiPGd4N0zJGnBjJUTnJS/at1F4qYaSf94lg== X-Received: by 2002:a65:4c4f:: with SMTP id l15-v6mr3549679pgr.61.1526154604941; Sat, 12 May 2018 12:50:04 -0700 (PDT) Received: from reaper.localnet (cpe-75-83-91-39.socal.res.rr.com. [75.83.91.39]) by smtp.gmail.com with ESMTPSA id e87-v6sm19419052pfl.65.2018.05.12.12.50.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 May 2018 12:50:04 -0700 (PDT) From: Georgy Yakovlev To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] multiversion ebuilds Date: Sat, 12 May 2018 12:49:54 -0700 Message-ID: <3496613.FMpsE6Ru2s@reaper> In-Reply-To: <2532421.f3YmpD0exa@gump> References: <2532421.f3YmpD0exa@gump> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3212971.4M8lZl2hHn"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Archives-Salt: 20ff8092-4330-4913-9bda-34e20ecdacef X-Archives-Hash: 0b742e6d61876fddb3a34d4e2ecdfa7f --nextPart3212971.4M8lZl2hHn Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Saturday, May 12, 2018 5:20:30 AM PDT Gerion Entrup wrote: > Hi, > > just an idea for now. But what you think about multiversion ebuilds? > Technically this could be realized with the following line in the ebuild > itself: ``` > VERSIONS=( 3.0.11 3.0.12 3.1 ) > ``` You may also be interested checking out exherbo's approach: exheres (ebuild) holds some metadata and version and sometimes some code overrides. exlib (similar to eclass, but not quite so) holds the most of the code an logic. can be per-package and per-category. examples: https://git.exherbo.org/arbor.git/tree/packages/net-wireless/wpa_supplicant https://git.exherbo.org/arbor.git/tree/packages/sys-libs/glibc -- Regards, Georgy. --nextPart3212971.4M8lZl2hHn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEHr/nhpyXWeKsHWDppe2wdkdbRqYFAlr3RWIACgkQpe2wdkdb RqYsoRAAoT5JBBIecj5JgcDrW48Qu8qzNGkxwjqiJGd40z8aJFaBXMqsJ0SDgeog YmwYAPCgMZN0kZR2C+KOKZmedYpFClwmemTpS4PdaWIMoD/2LUZjkbcVo2SydTlW PTFOimfIcNHE9kr6n0wpNG//td9ODl3ikGtKIBYhG5yu1FpJ1eoSOYq8j/6egeUm lQeEK3no45zwrOZQxGqm85diUPd2Mi6wLTDVW/0JAEalYfsdtapKqA8qK6AsGuhq NQz81ptn31YY+PgAHCrdugN/bZNWVWlU5A0JSYDPHSoD4Mrqm5JaOfTrbRp3y7mh BEKdGjh7W1i2XaSiQxAkxqqYL6l0mWvvt0nGRGNRpQHcrVTDpsT7eY/sUJ1clO7r LOIxqDr/bncJ7/3Vw50a5qSoJoyjSjr2frLM+0b5g7nkBbMsAzPfVnK3q+a2hAv5 rjtRM+I0mUL8HeTl88/uUdmO1MZny0XVNrytuN4bT1++fdeqHHEUc+t8YvSCS1OC AksnzaCN/lzaQiNQaPZnPjQgtSLQ7UkqzYFt7wQC1OubmFh0dWyprExfNvQofzP5 dVG/OTDT/20+xMCSEXkPSulSDtZb2n8DtHpVXfRW8J8ks+W7uJaklYLEkDwwkAUq NhMcbR981pPbVW/aKowbbctCtDAE/CXCg+yAdUZGaucJr9QI3i4= =YjRO -----END PGP SIGNATURE----- --nextPart3212971.4M8lZl2hHn--