aboutsummaryrefslogtreecommitdiffstats
path: root/extra/python
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-24 08:01:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-24 08:01:31 +0000
commitb70981b68efcce5256eb11c6cd26ae123b10b6ea (patch)
treea38be6efae5e2ba15c2e839504632f9b7bfd5f91 /extra/python
parent2b4df81538b8398442d5296650905c70341dd8d3 (diff)
downloadaports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2
aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'extra/python')
-rw-r--r--extra/python/APKBUILD33
-rw-r--r--extra/python/python-2.6-internal-expat.patch33
2 files changed, 0 insertions, 66 deletions
diff --git a/extra/python/APKBUILD b/extra/python/APKBUILD
deleted file mode 100644
index d5d38b99ca..0000000000
--- a/extra/python/APKBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=python
-pkgver=2.6.2
-pkgrel=1
-pkgdesc="A high-level scripting language"
-url="http://www.python.org"
-license="custom"
-subpackages="$pkgname-dev $pkgname-doc"
-depends="db expat openssl zlib ncurses uclibc"
-makedepends="db-dev expat-dev openssl-dev zlib-dev ncurses-dev bzip2-dev !gettext"
-source="http://www.$pkgname.org/ftp/$pkgname/$pkgver/Python-$pkgver.tar.bz2
- $pkgname-2.6-internal-expat.patch
- "
-
-build() {
- cd "$srcdir/Python-$pkgver"
- for i in ../*.patch; do
- msg "Apply $i"
- patch -p1 < $i || return 1
- done
-
- ./configure --prefix=/usr \
- --enable-shared \
- --with-threads \
- --enable-unicode \
- --disable-gdbm
-
- make || return 1
- make DESTDIR="$pkgdir" install
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-md5sums="245db9f1e0f09ab7e0faaa0cf7301011 Python-2.6.2.tar.bz2
-9d64df5e0a6aed149a792c7bff16e3d9 python-2.6-internal-expat.patch"
diff --git a/extra/python/python-2.6-internal-expat.patch b/extra/python/python-2.6-internal-expat.patch
deleted file mode 100644
index f345db8c8e..0000000000
--- a/extra/python/python-2.6-internal-expat.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/setup.py 2008-04-22 12:12:24.613554757 +0300
-+++ b/setup.py 2008-04-22 12:13:09.276544063 +0300
-@@ -1035,18 +1035,15 @@
- #
- # More information on Expat can be found at www.libexpat.org.
- #
-- expatinc = os.path.join(os.getcwd(), srcdir, 'Modules', 'expat')
-- define_macros = [
-- ('HAVE_EXPAT_CONFIG_H', '1'),
-- ]
-+ # Use system expat
-+ expatinc = '/usr/include'
-+ define_macros = []
-
- exts.append(Extension('pyexpat',
- define_macros = define_macros,
- include_dirs = [expatinc],
-+ libraries = ['expat'],
- sources = ['pyexpat.c',
-- 'expat/xmlparse.c',
-- 'expat/xmlrole.c',
-- 'expat/xmltok.c',
- ],
- ))
-
-@@ -1058,6 +1055,7 @@
- exts.append(Extension('_elementtree',
- define_macros = define_macros,
- include_dirs = [expatinc],
-+ libraries = ['expat'],
- sources = ['_elementtree.c'],
- ))
-