aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-12-09 04:25:32 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-12-09 04:25:32 +0000
commitd0b40833b25ba43eb56d35388dd958852f1f2834 (patch)
treec0166143ce16290f8672b81d42ff79e2412deef1 /dev
parente64a13ef28ed503a9ca286269460c059c0523e82 (diff)
downloadslackbuilds-d0b40833b25ba43eb56d35388dd958852f1f2834.tar.gz
slackbuilds-d0b40833b25ba43eb56d35388dd958852f1f2834.tar.bz2
numpy: updated slack-desc
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1520 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev')
-rwxr-xr-xdev/python/numpy/numpy.SlackBuild28
-rw-r--r--dev/python/numpy/slack-required4
2 files changed, 20 insertions, 12 deletions
diff --git a/dev/python/numpy/numpy.SlackBuild b/dev/python/numpy/numpy.SlackBuild
index bb4d96ec..8bbdcdeb 100755
--- a/dev/python/numpy/numpy.SlackBuild
+++ b/dev/python/numpy/numpy.SlackBuild
@@ -15,7 +15,7 @@
# Place - Suite 330, Boston, MA 02111-1307, USA
#
# slackbuild for numpy, by Silvio Rhatto
-# requires:
+# requires: python
# tested: numpy-1.0.4
#
@@ -102,9 +102,13 @@ python setup.py build install --root=$PKG
)
# Install documentation
-DOCS="NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*"
+DOCS="COMPATIBILITY DEV_README.txt LICENSE.txt MANIFEST.in PKG-INFO README.txt THANKS.txt"
mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR
-cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION"
+for doc in $DOCS; do
+ if [ -f "$doc" ]; then
+ cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION"
+ fi
+done
# Add package description (slack-desc)
mkdir -p "$PKG/install" || exit $ERROR_MKDIR
@@ -117,15 +121,15 @@ cat << EODESC > "$PKG/install/slack-desc"
# customary to leave one space after the ':'.
|-----handy-ruler--------------------------------------------------------|
-numpy: numpy
-numpy:
-numpy:
-numpy:
-numpy:
-numpy:
-numpy:
-numpy:
+numpy: NumPy: array processing for numbers, strings, records, and objects.
numpy:
+numpy: NumPy is a general-purpose array-processing package designed to efficiently
+numpy: manipulate large multi-dimensional arrays of arbitrary records without
+numpy: sacrificing too much speed for small multi-dimensional arrays. NumPy is
+numpy: built on the Numeric code base and adds features introduced by numarray as
+numpy: well as an extended C-API and the ability to create arrays of arbitrary
+numpy: type which also makes NumPy suitable for interfacing with general-purpose
+numpy: data-base applications.
numpy:
numpy:
EODESC
@@ -136,5 +140,5 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO
# Delete source and build directories if requested
if [ "$CLEANUP" == "yes" ]; then
- rm -rf "$PKG_SRC" "$PKG"
+ rm -rf "$PKG_WORK" "$PKG"
fi
diff --git a/dev/python/numpy/slack-required b/dev/python/numpy/slack-required
new file mode 100644
index 00000000..b53d6a78
--- /dev/null
+++ b/dev/python/numpy/slack-required
@@ -0,0 +1,4 @@
+# Dependency list to numpy
+#
+# dependency [condition] [version]]
+python