From owner-freebsd-ports@freebsd.org Sat Dec 16 13:51:46 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5372DE82D8C for ; Sat, 16 Dec 2017 13:51:46 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D678F6467D for ; Sat, 16 Dec 2017 13:51:45 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:e15a:b75a:9521:efca]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 93FBBE370 for ; Sat, 16 Dec 2017 13:51:36 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org To: FreeBSD Ports ML From: Matthew Seaman Subject: Can we have multiple flavors for a port? Message-ID: <6ed4ac6e-a075-0fc0-a3da-371a46a9e977@FreeBSD.org> Date: Sat, 16 Dec 2017 13:51:29 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QBPaTdMXOpgPTMeoAvp144KEAiJ4ejXsW" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2017 13:51:46 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QBPaTdMXOpgPTMeoAvp144KEAiJ4ejXsW Content-Type: multipart/mixed; boundary="IXLIIW62j4afIMwUmXRMeaVUt6kVA2VJN"; protected-headers="v1" From: Matthew Seaman To: FreeBSD Ports ML Message-ID: <6ed4ac6e-a075-0fc0-a3da-371a46a9e977@FreeBSD.org> Subject: Can we have multiple flavors for a port? --IXLIIW62j4afIMwUmXRMeaVUt6kVA2VJN Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable I have a review up to add a USES=3Ddjango -- https://reviews.freebsd.org/D12592 which I'm now modifying to be FLAVORS compatible given that has hit the tree. Now, we currently have ports for 4 different versions of django (1.8, 1.10, 1.11, 2.0) and the obvious next move is to add django-based flavouring. Currently, most django ports depend on django-1.8, with a few depending on django-1.10, but this I think is mostly due to inertia and django ports should be compatible with more recent versions. Having four different versions of django in ports seems excessive -- so, for the sake of argument I'd cut that down to just django-1.11 and django-2.0= But this is all python code, and the python flavouring would also apply..= =2E Given that django-2.0 requires python-3.5+ we end up with the following combinations: py27 django111 py36 django111 py36 django20 and there's some 104 django ports which will mostly end up needing all three of these variants built -- so as combinatorial explosions go, it's not particularly earth-shattering. However, my questions are: - Is it possible or desirable to have multiple flavourings like this? - If so, what should the syntax look like for specifying a particular combination? eg. www/py-django-mezzanine@py27+django111 ? Cheers, Matthew --IXLIIW62j4afIMwUmXRMeaVUt6kVA2VJN-- --QBPaTdMXOpgPTMeoAvp144KEAiJ4ejXsW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKoBAEBCgCSFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlo1JOJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcUHG1hdHRoZXdA ZnJlZWJzZC5vcmcACgkQAFE/EOCp5OfqOA/9FgIpz5bGgoN7kRJ0FZWz882YBfRT lTazE53yUJSflH/4okq+rJUQeJScRxFlU3VmiW/LDVD4ks30lz3IxiSBICHpB1aX KiXE1rgIlVT5SUjkkyg5igiw6BHi1tzZTuOqpkKq0BnIRYZEJ6EOaAwcE3sFukBh /l7v7g538klhSXs/pt6p1hYjh2gZNxcDmNHaYPe0LHNcd4+OJ4UqCM8+MDJTRxg2 cTTji3E4UVvOk3xK+GNcFq87sqeMZgqNbF7ar87c3/CRUjWM8ycBFT/7EedPeOTw WxyRHi+vxAQUZsWI0pMDRd+oXuOrDSo7fxkE3rj4nBHeqzaAhWqn+3QMJzwunjQb nK+GLA5a16PNDzJyM9psjHaxQ/3iv79ixeR2JlHxadoYPF+4G3QtFBGcq0Vlonmc cCyRWI0LLzUM94dr1/poCwcTNEvPlgVXUU6PeyggLSe8op1oUoubekoUe8pwPnBu mNvVawJ2dtqnwWDJcYqDPvTYF0svgnIu8TTMRjZZIDNw5aDgjpTcbuqxYN3p5Uac BJNy2nRoiLvxQt4C0Qn2iamlCL6q6ywN2hFG8ndmX9X3Ql3D3PEyF0u4JgbAKJrG QxEll14yUo7kZDsdR9wWmtXa+cEopNKP1sFzUFZxm4DwkLnqA8YCZGDJLsL/ElNE NCPGRzGNFAXM7Ks= =FB53 -----END PGP SIGNATURE----- --QBPaTdMXOpgPTMeoAvp144KEAiJ4ejXsW--