cvs commit: ports/www/py-qp Makefile distinfo pkg-plist

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Jun 15 11:27:51 UTC 2011


On Wed, Jun 15, 2011 at 10:36:59AM +0300, Ion-Mihai Tetcu wrote:
> On Tue, 14 Jun 2011 19:39:05 +0000 (UTC)
> Sunpoet Po-Chuan Hsieh <sunpoet at FreeBSD.org> wrote:
> 
> > sunpoet     2011-06-14 19:39:05 UTC
> > 
> >   FreeBSD ports repository
> > 
> >   Modified files:
> >     www/py-qp            Makefile distinfo pkg-plist 
> >   Log:
> >   - Unbreak and update to 2.2
> >   - Fix build when devel/py-setuptools installed
> >   - Use bsd.port.mk
> 
> I'm very sure each and any port uses it :)
> So what exactly did you changed?
> 
> -- 
> Ion-Mihai Tetcu <itetcu at FreeBSD.org>

Hi itetcu,

excerpt from the changelog
(http://www.mems-exchange.org/software/qp/qp-2.2.tar.gz/qp-2.2/CHANGES.txt)

Version 2.2: August 2009

Update primary setup.py files so that the use of distutils, rather than 
setuptools, can be forced by having USE_DISTUTILS defined in the
environment.

excerpt from WRKSRC/setup.py

try:
    assert 'USE_DISTUTILS' not in os.environ
    from setuptools import setup, Extension
except (ImportError, AssertionError):
    from distutils.core import setup
    from distutils.extension import Extension

Therefore, I set USE_DISTUTILS=yes in MAKE_ENV.

BTW, since py-setuptools does not work on py3k, I prefer not to use it. :)

Regards,
sunpoet
-- 
   Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net> <sunpoet at FreeBSD.org>
           4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B 8CC0 DC44 247E CC57 E36B
	                     http://people.FreeBSD.org/~sunpoet/pgpkeys.txt


More information about the cvs-all mailing list