Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2013 22:28:21 +0100
From:      Marcus von Appen <mva@FreeBSD.org>
To:        freebsd-python@freebsd.org
Subject:   USE_TWISTED becoming a USES
Message-ID:  <20131130212821.GA46168@medusa.sysfault.org>

next in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131130212821.GA46168>