Commit graph

87 commits

Author SHA1 Message Date
asau
b63c74fdfd "user-destdir" is default these days 2012-09-11 23:04:15 +00:00
wiz
6dc4abe4b7 Reset maintainer, developer has left the building 2012-04-15 22:00:58 +00:00
wiz
c595076396 All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
2012-04-08 20:21:41 +00:00
obache
6b89f91811 register egg-info.
Bump PKGREVISION.
2011-10-25 08:53:50 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
0d0e90a320 Include pyversion.mk include the protected part of the buildlink3.mk
files, not over and over again.
2009-03-20 17:30:09 +00:00
joerg
25a80fb4ab Remove PYBINMODULE. All it did was mark some packages as not available
on some platforms that lacked shared library support in the past. The
list hasn't been maintained at all and the gain is very limited, so just
get rid of it.
2009-03-05 18:51:26 +00:00
joerg
a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00
abs
3144db8e64 PYTHON_VERSIONS_ACCEPTED+=25 2008-04-16 12:15:28 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
joerg
561b2ae949 Never use setuptools to make builds consistent independent of whether
py-setuptools is present or not.
2007-12-27 14:07:25 +00:00
heinz
a9d3f2b853 The package supports installation to DESTDIR. 2007-08-24 08:58:28 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
25689ebee6 Fixed some pkglint warnings. 2006-07-02 10:28:50 +00:00
joerg
4e96ade69f Needs Python 2.2 or later. 2006-06-02 16:56:49 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
minskim
1626e173a4 Let the package find BLAS and LAPACK routines on Mac OS X. This makes the
package build on Darwin.
2006-03-01 19:15:07 +00:00
drochner
8b9ec31abd update to 24.2
another "final release"
changes:
-__array_data__, __array_struct__ support
-some bugfixes
-Support array interface in objecttype function
-build system improvements

inofficial note:
The default indices of diagonal() and trace() changed, this causes
a selftest to fail. The default indices behaviour is documented, so
it seems that just the selftest is wrong. This only affects arrays with
more than 2 dimensions.
2006-02-15 17:37:08 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
drochner
810dd32b3f update to 23.7
changes:
-Added empty as command for creating an empty array (much faster than zeros)
-fixes
2005-02-25 17:10:09 +00:00
agc
1e46c076aa Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
drochner
aa4c6d9aa5 update to 23.3
changes:
Bug fixes and addition of weakreferences (weakref module)
2004-08-24 11:29:33 +00:00
recht
4150812b27 add python as category
ok'd a while back at pkgsrcCon by agc and wiz
2004-07-22 09:15:59 +00:00
seb
00cc0486ea Garbage collect BUILDLINK_PKGBASE.<pkg> from buildlink3: it is not anymore
used since revision 1.139 of mk/buildlink3/bsd.buildlink3.mk.
2004-05-17 21:32:33 +00:00
wiz
7deec283de Unused. 2004-05-10 09:31:03 +00:00
jlam
426cc1ce72 Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+".  This is mandated by the example
buildlink[23].mk files in bsd.buildlink[23].mk.
2004-03-29 05:05:32 +00:00
jlam
59bdf89739 If the ${PKGBASE} of a package doesn't match the token passed to
BUILDLINK_PACKAGES, then set BUILDLINK_PKGBASE.<pkg> explicitly so that
we can map from <pkg> to BUILDLINK_PKGBASE.<pkg>.
2004-03-16 18:23:26 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
snj
b989a2bccc Include math.h earlier on to fix a build problem on FreeBSD.
Trivial fix from FreeBSD through Michal Pasternak in PR pkg/23846.
2004-03-01 00:43:13 +00:00
minskim
79870154de Do not use PYPKGPREFIX in buildlink3.mk except in BUILDLINK_DEPENDS.*. 2004-02-20 03:12:22 +00:00
minskim
2f58d4e752 Fix a version-specific string in comments. 2004-02-18 16:04:50 +00:00
minskim
a845dd52ec bl3ify 2004-02-18 16:02:01 +00:00
recht
0f31b18e03 Update to 23.1.
changes:
Version 23.1 August 2003
[unreported]  fixed assignment to matrix.
[unreported]  added check so that non-character array cannot be interpreted
                as a character buffer.
[unreported]  array([m,m,m])  when m is a rank-0 array now works as expected.
Patches:
[ 782001 ] Add true and floor divide to MA
[ 781215 ] true_divide bug
[ 776991 ] multiplying small UINT values gives random results
[ 776467 ] remove string exceptions
2003-09-14 17:43:53 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
drochner
495262b83c delete the PYTHON_VERSIONS_ACCEPTED line - this should lead to the same
result as the patch in PR pkg/21772 by Marc Recht
2003-06-04 19:47:21 +00:00
drochner
0f5279129e update to 23.0
Important notice:
 Two packages have been removed from optional ones: PropertiedClasses, kinds.
 MA has been rewritten to use standard property and will not work for
 ancient Pythons. (Pre 2.1, I think). Use the MA / Propertied Classes
 from Numeric 22 if you can't use this one.
 The kinds package (subject of PEP-0242) will be released as a separate
 package shortly. PEP-0242 was withdrawn because this facility did not seem
 to be worth putting in the standard library, but kinds is correct as is.
Other changes are bugfixes.
2003-04-03 18:52:39 +00:00
markd
a801046902 Update py-Numeric to version 21.0
Fixed bugs:
    [ #482603 ] Memory leak in MA/Numeric/Python
                Reported by Reggie Dugard. Turned out to be
                *two* memory leaks in one case in a routine in Numeric,
                array_objectype. (Dubois)
    [ none    ] if vals was a null-array array([]) putmask and put would
                   crash.  Fixed with check.
    [ #469951 ] n = n1[0] gives array which shares dimension of n1 array.
                  This causes bugs if shape of n1 is changed (n didn't used
                  to have it's own dimensions array  (Travis Oliphant)
    [ #514588 ] MLab.cov(x,x) != MLab.cov(x) (Travis Oliphant)
    [ #518702 ] segfault when invalid typecode for asarray (Travis Oliphant)
    [ #497530 ] MA __getitem__ prevents 0 len arrays (Reggie Duggard)
    [ #508363 ] outerproduct of noncontiguous arrays (Martin Wiechert)
    [ #513010 ] memory leak in comparisons (Byran Nollett)
    [ #512223 ] Character typecode not defined (Jochen Kupper)
    [ #500784 ] MLab.py diff error (anonymous, fixed by Dubois)
    [ #503741 ] accuracy of MLab.std(x) (Katsunori Waragai)
    [ #507568 ] overlapping copy a[2:5] = a[3:6]
                Change uses of memcpy to memmove which allows overlaps.
    [ numpy-Patches-499722 ] size of buffer created from array is bad (Michel Sanner).
    [ #502186 ] a BUG in RandomArray.normal (introduced by last bug fix in 20.3)
               (Katsunori Waragai).

Fixed errors for Mac (Jack Jensen).

Make rpm's properly, better Windows installers. (Gerard Vermeulen)
    Added files setup.cfg; setup calculates rpm_install.sh to use current Python.
    New setup.py, eliminate setup_all.py. Use os.path.join everywhere. Revision
    in b6 added file README.RPM, further improvements.

Implement true division operations for Python 2.2. (Bruce Sherwood)
    Note: true division of all integer types results in an array of floats,
    not doubles. This decision is arbitrary and there are arguments either way,
    so users of this new feature should be aware that the decision may
    change in the future.

New functions in Numeric; they work on any sequence a that can be converted to a
Numeric array. Similar change to average in MA. (Dubois)

    def rank (a):
        "Get the rank of a (the number of dimensions, not a matrix rank)"

    def shape (a):
        "Get the shape of a"

    def size (a, axis=None):
        "Get the number of elements in a, or along a certain axis."

    def average (a, axis=0, weights=None, returned = 0):
        Computes average along indicated axis.
2002-10-30 10:35:32 +00:00
wiz
6c6c00e5f6 Unused. 2002-10-09 17:40:11 +00:00
jlam
548b468291 Use buildlink2. 2002-09-22 10:29:42 +00:00
jlam
86cd651f41 Follow the guidelines set forth in bsd.buildlink2.mk for making a
buildlink2.mk file.  This package installs headers, so we need to define a
BUILDLINK_FILES variable for them.
2002-09-22 10:29:18 +00:00
jlam
e44bf515dc Strip the ".buildlink" from the names of the python application and
extension Makefile fragments, because they really don't have anything to
do with the buildlink[12] frameworks.  Change all the Makefiles that use
application.buildlink.mk and extension.buildlink.mk to use application.mk
and extension.mk instead.
2002-09-21 23:46:45 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
drochner
318e02f395 fix typo 2002-01-16 20:01:52 +00:00
drochner
04f5bd383c allow to override the required version just like other buildlink.mks do 2002-01-15 18:38:46 +00:00
drochner
93cff951a9 this works with Python-2.2 2002-01-15 18:38:05 +00:00
drochner
0371af3e37 add a buildlink.mk file 2002-01-10 20:47:51 +00:00