From owner-freebsd-python@FreeBSD.ORG Sat Nov 30 21:28:30 2013 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 677B06A5 for ; Sat, 30 Nov 2013 21:28:30 +0000 (UTC) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 25E601ACE for ; Sat, 30 Nov 2013 21:28:29 +0000 (UTC) Received: from [89.183.19.76] (helo=localhost) by smtprelay05.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Vms5O-0001Vd-A3 for freebsd-python@freebsd.org; Sat, 30 Nov 2013 22:28:22 +0100 Date: Sat, 30 Nov 2013 22:28:21 +0100 From: Marcus von Appen To: freebsd-python@freebsd.org Subject: USE_TWISTED becoming a USES Message-ID: <20131130212821.GA46168@medusa.sysfault.org> Mail-Followup-To: freebsd-python@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-Df-Sender: MTEyNTc0Mg== X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Marcus von Appen List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2013 21:28:30 -0000 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear all, I tried to remove the USE_TWISTED stuff from bsd.python.mk. You can find the attempt at http://people.freebsd.org/~mva/twisted.mk.txt. The syntax basically would be something like: # Add twistedCore, twistedWeb and twistedConch as run dependencies USES=3D twisted:run,web,conch # Add twistedCore and twistedFlow as build dependencies USES=3D twisted:build,flow # Add twistedCore as build and run dependency USES=3D twisted # Add twistedCore and web2 as run dependency USES=3D twisted:web2 I removed the version check ("20"), since I did not see any use for it and it is not used anywhere. It is also worth to mention that I did not test the .mk at all :-). Since I do not use twisted myself, feedback about whether the .mk can replace the current infrastructure behaviour is highly appreciated. If someone wants to continue the work, that's also welcome. All in all 38 ports would need to be converted and the twisted block to be removed =66rom bsd.python.mk. Cheers Marcus --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlKaWHUACgkQi68/ErJnpkfXZQCgykProiea/pI1dw4SHLUCYqQz qssAoJkehOU32imRuzpxiN827JmmBi+d =6wVa -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--