summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-11 13:18:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-11 13:18:22 +0000
commit3a4b60e9e1c4fd340d6847f3f3d4b1380387026a (patch)
tree2316472742fcd3dffb5e1749b67084c626cd5a49 /testing
parent6be82ec40a642fc049398d571ce8394ca88d43ab (diff)
downloadaports-3a4b60e9e1c4fd340d6847f3f3d4b1380387026a.tar.bz2
aports-3a4b60e9e1c4fd340d6847f3f3d4b1380387026a.tar.xz
main/trac,py-sqlite,py-setuptools,py-genshi: moved from testing
Diffstat (limited to 'testing')
-rw-r--r--testing/py-genshi/APKBUILD26
-rw-r--r--testing/py-setuptools/APKBUILD27
-rw-r--r--testing/py-sqlite/APKBUILD26
-rw-r--r--testing/trac/APKBUILD35
-rw-r--r--testing/trac/trac.pre-install5
-rw-r--r--testing/trac/tracd.confd13
-rwxr-xr-xtesting/trac/tracd.initd27
7 files changed, 0 insertions, 159 deletions
diff --git a/testing/py-genshi/APKBUILD b/testing/py-genshi/APKBUILD
deleted file mode 100644
index 461e28547..000000000
--- a/testing/py-genshi/APKBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# Contributor: Mika Havela <mika.havela@gmail.com>
-# Maintainer: Mika Havela <mika.havela@gmail.com>
-pkgname=py-genshi
-_realname=Genshi
-pkgver=0.6
-pkgrel=0
-pkgdesc="Python toolkit for stream-based generation of output for the web."
-url="http://genshi.edgewall.org/"
-license="BSD"
-depends="python"
-makedepends="py-setuptools python-dev"
-install=
-source="http://ftp.edgewall.com/pub/genshi/$_realname-$pkgver.tar.gz"
-
-_builddir="$srcdir"/$_realname-$pkgver
-
-build() {
- exit 0
-}
-
-build() {
- cd "$_builddir"
- python setup.py install --root="$pkgdir"
-}
-
-md5sums="604e8b23b4697655d36a69c2d8ef7187 Genshi-0.6.tar.gz"
diff --git a/testing/py-setuptools/APKBUILD b/testing/py-setuptools/APKBUILD
deleted file mode 100644
index 2ccca3b4c..000000000
--- a/testing/py-setuptools/APKBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# Contributor: Andrew Manison <amanison@anselsystems.com>
-# Maintainer:
-pkgname=py-setuptools
-_pkgname=${pkgname#py-}
-pkgver=0.6c11
-pkgrel=0
-pkgdesc="setuptools is a collection of enhancements to the Python distutils"
-url="http://pypi.python.org/pypi/setuptools"
-license="PSF"
-depends="python"
-makedepends="python-dev"
-install=
-subpackages=""
-source="http://pypi.python.org/packages/source/s/$_pkgname/$_pkgname-$pkgver.tar.gz"
-
-build() {
- cd "$srcdir"/$_pkgname-$pkgver
- mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages
- python setup.py install --root="$pkgdir"
- echo "/usr/lib/python2.6/site-packages/$_pkgname-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_pkgname.pth
-
- # we don't provide a non-suffixed easy_install
- echo "Removing non-suffixed easy_install ( $pkgdir/usr/bin/easy_install)"
- rm "$pkgdir"/usr/bin/easy_install
-}
-
-md5sums="7df2a529a074f613b509fb44feefe74e setuptools-0.6c11.tar.gz"
diff --git a/testing/py-sqlite/APKBUILD b/testing/py-sqlite/APKBUILD
deleted file mode 100644
index a0ae27156..000000000
--- a/testing/py-sqlite/APKBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# Contributor: Mika Havela <mika.havela@gmail.com>
-# Maintainer: Mika Havela <mika.havela@gmail.com>
-pkgname=py-sqlite
-_realname=pysqlite
-pkgver=2.6.0
-pkgrel=0
-pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
-url="http://code.google.com/p/pysqlite/"
-license="MIT"
-depends="python sqlite"
-makedepends="sqlite-dev python-dev"
-install=
-source="http://pysqlite.googlecode.com/files/${_realname}-${pkgver}.tar.gz"
-
-_builddir="$srcdir"/$_realname-$pkgver
-
-build() {
- return 0
-}
-
-package() {
- cd "$_builddir"
- python setup.py install --root="$pkgdir"
-}
-
-md5sums="fc92618b3b39d02e6ff10dc467c36640 pysqlite-2.6.0.tar.gz"
diff --git a/testing/trac/APKBUILD b/testing/trac/APKBUILD
deleted file mode 100644
index d4e09e554..000000000
--- a/testing/trac/APKBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# Contributor: Michael Mason <ms13sp@gmail.com>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=trac
-_realname=Trac
-pkgver=0.11.7
-pkgrel=1
-pkgusers="tracd"
-pkggroups="tracd"
-pkgdesc="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
-url="http://trac.edgewall.com/"
-license="GPL"
-depends="python py-setuptools py-genshi py-sqlite"
-makedepends="python-dev"
-install="$pkgname.pre-install"
-source="ftp://ftp.edgewall.com/pub/$pkgname/$_realname-$pkgver.tar.gz
- tracd.confd
- tracd.initd"
-
-_builddir="$srcdir"/$_realname-$pkgver
-
-build() {
- cd "$_builddir"
- python setup.py install --prefix=/usr --root="$pkgdir"
-}
-
-package() {
- cd "$_builddir"
- install -d -o tracd -g tracd "$pkgdir"/var/lib/trac
- install -m755 -D "$srcdir"/tracd.initd "$pkgdir"/etc/init.d/tracd
- install -m644 -D "$srcdir"/tracd.confd "$pkgdir"/etc/conf.d/tracd
-}
-
-md5sums="3cd96dad0e4f25d977c422fd6e985e99 Trac-0.11.7.tar.gz
-95b1311ca65e1ffcd51a191542f45ba4 tracd.confd
-e53761b1e84c5d68c8e6c4b837e57008 tracd.initd"
diff --git a/testing/trac/trac.pre-install b/testing/trac/trac.pre-install
deleted file mode 100644
index 05c659552..000000000
--- a/testing/trac/trac.pre-install
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-addgroup tracd 2>/dev/null
-adduser -s /bin/false -G tracd -D -H tracd 2>/dev/null
-exit 0
diff --git a/testing/trac/tracd.confd b/testing/trac/tracd.confd
deleted file mode 100644
index 2cb9d292a..000000000
--- a/testing/trac/tracd.confd
+++ /dev/null
@@ -1,13 +0,0 @@
-# The commented variables in this file are the defaults that are used
-# in the init-script. You don't need to uncomment them except to
-# customize them to different values.
-
-# Port for tracd
-#TRACD_PORT="8000"
-
-# Options for tracd
-#TRACD_OPTS="--env-parent-dir /var/lib/trac/"
-
-# User and group as which to run tracd
-#TRACD_USER="tracd"
-#TRACD_GROUP="tracd"
diff --git a/testing/trac/tracd.initd b/testing/trac/tracd.initd
deleted file mode 100755
index 83f84052d..000000000
--- a/testing/trac/tracd.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v 1.4 2010/05/28 14:43:40 arfrever Exp $
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting tracd"
- # tracd fails to create pidfile if started as non-root user, thus we are asking
- # s-s-d to do that. To have correct pid we avoid -d option of tracd and use
- # --background option of s-s-d.
- start-stop-daemon --start --chuid ${TRACD_USER:-tracd}:${TRACD_GROUP:-tracd} \
- --pidfile /var/run/tracd.pid --make-pidfile --background \
- --env PYTHON_EGG_CACHE="/var/lib/trac/egg-cache" \
- --exec /usr/bin/python -- /usr/bin/tracd \
- -p ${TRACD_PORT:-8000} ${TRACD_OPTS:---env-parent-dir /var/lib/trac/}
- eend $?
-}
-
-stop() {
- ebegin "Stopping tracd"
- start-stop-daemon --stop --quiet --pidfile /var/run/tracd.pid
- eend $?
-}