Commit a2e061d5 authored by Timo Teräs's avatar Timo Teräs

community/[various]: dont set arch in split function

parent 84640d4e
......@@ -73,7 +73,6 @@ package() {
ilp64() {
pkgdesc="$pkgdesc (ILP64)"
arch="x86_64"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libarpack64_* "$subpkgdir"/usr/lib/
......
......@@ -30,7 +30,7 @@ package() {
apache2() {
pkgdesc="Apache configuration files for $pkgname"
depends="apache2 php5-apache2"
arch="noarch"
mkdir -p "$subpkgdir"/etc/
mv "$pkgdir"/etc/apache2 "$subpkgdir"/etc/apache2
}
......
......@@ -12,7 +12,7 @@ depends_dev=""
makedepends="$depends_dev lmdb-dev libressl-dev bison flex-dev
acl-dev pcre-dev linux-headers"
install=""
subpackages="$pkgname-doc $pkgname-masterfiles"
subpackages="$pkgname-doc $pkgname-masterfiles::noarch"
source="https://cfengine-package-repos.s3.amazonaws.com/tarballs/$pkgname-$pkgver.tar.gz
https://cfengine-package-repos.s3.amazonaws.com/tarballs/$pkgname-masterfiles-$pkgver.tar.gz"
......@@ -56,8 +56,8 @@ package() {
masterfiles() {
pkgdesc="Cfengine default masterfiles"
arch="noarch"
depends="cfengine"
cd "$_builddirmasterfiles"
./configure \
--prefix=/var/lib/cfengine \
......
......@@ -11,7 +11,7 @@ depends="gcc libc-dev $pkgname-dev $pkgname-libs"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc $pkgname-libs $pkgname-dev $pkgname-feathers"
subpackages="$pkgname-doc $pkgname-libs $pkgname-dev $pkgname-feathers::noarch"
source="http://code.call-cc.org/releases/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
......@@ -40,7 +40,6 @@ package() {
feathers() {
pkgdesc="A debugger for compiled chicken programs"
depends="tk"
arch="noarch"
mkdir -p "$subpkgdir"/usr/bin/ \
"$subpkgdir"/usr/share/chicken/
......
......@@ -15,8 +15,8 @@ makedepends="alsa-lib-dev faad2-dev flac-dev libmad-dev opusfile-dev
install=""
subpackages="
$pkgname-doc
$pkgname-zsh-completion:zshcomp
$pkgname-bash-completion:bashcomp"
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-bash-completion:bashcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/cmus/cmus/archive/v${pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
......@@ -39,7 +39,6 @@ bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
install -Dm644 "$_builddir"/contrib/$pkgname.bash-completion \
"$subpkgdir"/usr/share/bash-completion/completions/$pkgname
......@@ -49,7 +48,6 @@ zshcomp() {
depends=""
pkgdesc="Zsh completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
arch="noarch"
install -Dm644 "$_builddir"/contrib/_$pkgname \
"$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
......
......@@ -13,7 +13,7 @@ makedepends="$depends_dev libsodium-dev"
install="$pkgname.pre-install"
pkgusers=dnscrypt
pkggroups=dnscrypt
subpackages="$pkgname-doc $pkgname-setup"
subpackages="$pkgname-doc $pkgname-setup::noarch"
source="http://download.dnscrypt.org/$pkgname/$pkgname-$pkgver.tar.bz2
$pkgname.initd
$pkgname.confd
......@@ -48,9 +48,9 @@ package() {
}
setup() {
arch="noarch"
pkgdesc="Script for setting up DNSCrypt Proxy"
depends="sed wget $pkgname"
mkdir -p "$subpkgdir"/sbin
install -m755 -D "$srcdir"/$pkgname.setup "$subpkgdir"/sbin/setup-dnscrypt
}
......
......@@ -21,9 +21,9 @@ _runc_ver=cc29e3dded8e27ba8f65738f40d251c885030a28
_containerd_ver=0ac3cd1be170d180b2baed755e8f0da547ceb267
subpackages="
$pkgname-bash-completion:bashcomp
$pkgname-zsh-completion:zshcomp
$pkgname-vim:vim
$pkgname-bash-completion:bashcomp:noarch
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-vim:vim:noarch
"
source="
$pkgname-$pkgver.tar.gz::https://github.com/docker/docker/archive/v$_ver.tar.gz
......@@ -119,7 +119,6 @@ package() {
bashcomp() {
pkgdesc="Bash completion for Docker"
arch="noarch"
depends=""
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
......@@ -129,7 +128,6 @@ bashcomp() {
zshcomp() {
pkgdesc="Zsh completion for $pkgname"
arch="noarch"
depends=""
install_if="$pkgname=$pkgver-r$pkgrel zsh"
......@@ -140,7 +138,6 @@ zshcomp() {
vim() {
depends=""
pkgdesc="Vim syntax for Docker"
arch="noarch"
local f=
for f in ftdetect/dockerfile.vim syntax/dockerfile.vim; do
......
......@@ -10,7 +10,7 @@ license="GPL2"
depends="bash"
makedepends="linux-headers"
options="suid"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/netblue30/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
......@@ -37,7 +37,6 @@ build() {
bashcomp() {
pkgdesc="Bash completions for $pkgname"
arch="noarch"
depends="bash"
install_if="$pkgname=$pkgver-r$pkgrel bash"
......
......@@ -14,8 +14,8 @@ install=""
options="!strip"
subpackages="
$pkgname-doc
$pkgname-bash-completion:bashcomp
$pkgname-zsh-completion:zshcomp"
$pkgname-bash-completion:bashcomp:noarch
$pkgname-zsh-completion:zshcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
......@@ -36,7 +36,6 @@ bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
install -Dm644 "$_builddir"/etc/hub.bash_completion.sh \
"$subpkgdir"/usr/share/bash-completion/completions/$pkgname || return 1
......@@ -46,7 +45,6 @@ zshcomp() {
depends=""
pkgdesc="Zsh completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
arch="noarch"
install -Dm644 "$_builddir"/etc/$pkgname.zsh_completion \
"$subpkgdir"/usr/share/zsh/site-functions/_$pkgname || return 1
......
......@@ -13,7 +13,7 @@ makedepends="$depends_dev cmake bison flex boost-dev yajl-dev
install="$pkgname.pre-install $pkgname.post-install"
pkgusers="icinga"
pkggroups="icinga"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/Icinga/$pkgname/archive/v$pkgver.tar.gz
$pkgname.initd"
......@@ -99,7 +99,7 @@ EOF
bashcomp() {
depends="bash"
pkgdesc="Bash completions for $pkgname"
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/bash-completion/completions
mv "$pkgdir"/etc/bash_completion.d/$pkgname "$subpkgdir"/usr/share/bash-completion/completions/$pkgname
}
......
......@@ -16,7 +16,7 @@ depends_dev=""
makedepends="$depends_dev"
pkggroups="icingaweb2"
install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/Icinga/${pkgname}/archive/v${pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
......@@ -69,7 +69,7 @@ EOF
bashcomp() {
depends="bash"
pkgdesc="Bash completions for $pkgname"
arch="noarch"
cd "$_builddir"
mkdir -p "$subpkgdir"/usr/share/bash-completion/completions
mv etc/bash_completion.d/icingacli "$subpkgdir"/usr/share/bash-completion/completions/icingacli
......
......@@ -7,7 +7,7 @@ _libver=${pkgver%.*}
pkgrel=1
pkgdesc="Java Foreign Function Interface"
url="https://github.com/jnr/jffi"
arch="noarch"
arch="all"
license="ASL-2.0"
depends="openjdk8-jre-base"
makedepends="apache-ant file openjdk8"
......@@ -29,8 +29,6 @@ package() {
}
native() {
arch="all"
# Note: jffi expects file named libjffi-x.y.so, not libjffi.so.x.y.
install -m755 -D "$builddir"/build/jni/libjffi-$_libver.so \
"$subpkgdir"/usr/lib/libjffi-$_libver.so
......
......@@ -6,7 +6,7 @@ pkgver=1.3.0
pkgrel=2
pkgdesc="LZ4 compression for Java"
url="https://github.com/jpountz/lz4-java"
arch="noarch"
arch="all"
license="ASL-2.0"
depends="openjdk8-jre-base"
makedepends="apache-ant openjdk8"
......@@ -34,7 +34,6 @@ package() {
}
native() {
arch="all"
local soname="liblz4-java.so"
install -m755 -D "$builddir"/build/jni/*/*/$soname \
......
......@@ -43,7 +43,6 @@ build() {
}
package() {
arch="noarch"
depends="$depends $pkgname-native"
install -m644 -D "$builddir"/target/$_pkgname-*.jar \
......
......@@ -19,8 +19,8 @@ pkgusers="knot"
pkggroups="knot"
subpackages="$pkgname-libs
$pkgname-utils
$pkgname-bash-completion:bashcomp
$pkgname-zsh-completion:zshcomp
$pkgname-bash-completion:bashcomp:noarch
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-dev
$pkgname-doc
"
......@@ -89,7 +89,6 @@ utils() {
bashcomp() {
pkgdesc="Bash completions for knot"
arch="noarch"
depends="bash"
install_if="$pkgname=$pkgver-r$pkgrel bash"
......@@ -99,7 +98,6 @@ bashcomp() {
zshcomp() {
pkgdesc="ZSH completions for knot"
arch="noarch"
depends="zsh"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
......
......@@ -7,7 +7,7 @@ pkgver=0.3
pkgrel=0
pkgdesc="Compatibility module providing Lua-5.3-style APIs for Lua"
url="https://github.com/keplerproject/lua-compat-5.3"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends=""
......@@ -41,7 +41,6 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc $lver"
arch="all"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
......
......@@ -6,7 +6,7 @@ pkgver=1.0.0
pkgrel=0
pkgdesc="Pattern-matching library for Lua"
url="http://www.inf.puc-rio.br/~roberto/lpeg"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends=""
......@@ -48,7 +48,6 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
pkgdesc="Pattern-matching library for Lua $lver"
arch="all"
depends="lua$lver"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
......
......@@ -7,7 +7,7 @@ pkgver=20150923
pkgrel=0
pkgdesc="Comprehensive Unix API Module for Lua"
url="https://github.com/wahern/lunix"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends=""
......@@ -36,7 +36,6 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc $lver"
arch="all"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
cd "$builddir"
......
......@@ -18,7 +18,7 @@ source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/minetest/${pkgname}
minetest-server.confd
minetest-server.initd
"
subpackages="$pkgname-doc $pkgname-common $pkgname-server"
subpackages="$pkgname-doc $pkgname-common::noarch $pkgname-server"
_builddir="${srcdir}"/${pkgname}-${pkgver}
......@@ -64,7 +64,6 @@ build() {
}
common() {
arch="noarch"
install -o minetest -g minetest -d "$subpkgdir"/var/lib/minetest \
|| return 1
mkdir -p "${subpkgdir}/usr/share/minetest"
......
......@@ -18,7 +18,7 @@ makedepends="libxxf86dga-dev libxv-dev libmad-dev lame-dev libao-dev
subpackages="
$pkgname-doc
$pkgname-libs
$pkgname-zsh-completion:zshcomp"
$pkgname-zsh-completion:zshcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
......@@ -63,7 +63,6 @@ zshcomp() {
depends=""
pkgdesc="Zsh completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
arch="noarch"
mkdir -p "$subpkgdir/usr/share/zsh/site-functions"
mv "$pkgdir/usr/share/zsh/site-functions"/* \
......
......@@ -15,7 +15,7 @@ makedepends="qt-dev libsndfile-dev boost-dev avahi-dev protobuf-dev
install="murmur.pre-install"
pkgusers="murmur"
pkggroups="murmur"
subpackages="$pkgname-doc murmur murmur-doc:murmur_doc"
subpackages="$pkgname-doc murmur murmur-doc:murmur_doc:noarch"
source="https://github.com/mumble-voip/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
murmur.initd"
......@@ -93,7 +93,6 @@ murmur() {
murmur_doc() {
pkgdesc="Murmur is the server component of Mumble"
arch="noarch"
cd "$builddir"
install -Dm644 ./man/murmurd.1 \
......
......@@ -44,7 +44,6 @@ package() {
doc() {
pkgdesc="$pkgname documentation"
arch="noarch"
_docdir="configuration_examples diagrams html transcode"
cd "$builddir"/doc
make doc || return 1
......
......@@ -12,8 +12,8 @@ makedepends="gzip xapian-core-dev gmime-dev talloc-dev
subpackages="
$pkgname-dev
$pkgname-doc
$pkgname-zsh-completion:zshcomp
$pkgname-bash-completion:bashcomp"
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-bash-completion:bashcomp:noarch"
source="https://notmuchmail.org/releases/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
......@@ -41,7 +41,6 @@ bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/bash-completion/completions/
mv "$pkgdir"/usr/share/bash-completion/completions/$pkgname \
......@@ -52,7 +51,6 @@ zshcomp() {
depends=""
pkgdesc="Zsh completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/zsh/site-functions/
mv "$pkgdir"/usr/share/zsh/site-functions/_${pkgname} \
......
......@@ -90,7 +90,6 @@ package() {
ilp64() {
pkgdesc="$pkgdesc (ILP64)"
arch="x86_64"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libopenblas64_* "$subpkgdir"/usr/lib/
......
......@@ -45,7 +45,7 @@ _jrelib="$INSTALL_BASE/jre/lib/$_jarch"
ldpath="$_jrelib:$_jrelib/native_threads:$_jrelib/headless:$_jrelib/server:$_jrelib/jli"
sonameprefix="$pkgname:"
subpackages="$pkgname-jre-lib:jrelib $pkgname-jre $pkgname-jre-base:jrebase
subpackages="$pkgname-jre-lib:jrelib:noarch $pkgname-jre $pkgname-jre-base:jrebase
$pkgname-doc:doc"
if [ "$BOOTSTRAP" != "no" ]; then
......@@ -193,7 +193,6 @@ package() {
jrelib() {
pkgdesc="OpenJDK 7 Java Runtime (class libraries)"
arch="noarch"
depends=""
local A; for A in jre/lib/zi jre/lib/images jre/lib/*.jar \
......
......@@ -38,7 +38,7 @@ _jrelib="$_java_home/jre/lib/$_jarch"
ldpath="$_jrelib:$_jrelib/native_threads:$_jrelib/headless:$_jrelib/server:$_jrelib/jli"
sonameprefix="$pkgname:"
subpackages="$pkgname-jre-lib:jrelib $pkgname-jre $pkgname-jre-base:jrebase
subpackages="$pkgname-jre-lib:jrelib:noarch $pkgname-jre $pkgname-jre-base:jrebase
$pkgname-doc $pkgname-demos"
_dropsver=$_icedteaver
......@@ -167,7 +167,6 @@ package() {
jrelib() {
pkgdesc="OpenJDK 8 Java Runtime (class libraries)"
arch="noarch"
depends=""
local file dir
......
......@@ -42,7 +42,7 @@ _exts="bcmath bz2 calendar ctype curl dba dom enchant exif ftp gd gettext gmp ic
sockets sqlite3 sysvmsg sysvsem sysvshm tidy wddx xml xmlreader xmlrpc xsl zip zlib
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-apache2 $pkgname-phpdbg $pkgname-embed
$pkgname-litespeed $pkgname-cgi $pkgname-fpm $pkgname-pear
$pkgname-litespeed $pkgname-cgi $pkgname-fpm $pkgname-pear::noarch
"
for _ext in $_exts; do
case "$_ext" in
......@@ -50,7 +50,7 @@ for _ext in $_exts; do
*) subpackages="$subpackages $pkgname-$_ext:_package_ext";;
esac
done
subpackages="$subpackages $pkgname-common"
subpackages="$subpackages $pkgname-common::noarch"
_apiver="20151012"
......@@ -282,7 +282,6 @@ fpm() {
}
pear() {
arch="noarch"
pkgdesc="PHP Extension and Application Repository"
depends="$pkgname $pkgname-xml"
......@@ -297,7 +296,6 @@ pear() {
}
common() {
arch="noarch"
pkgdesc="$pkgdesc (common config)"
mkdir -p "$subpkgdir"/usr
......
......@@ -6,7 +6,7 @@ pkgver=4.3.4
pkgrel=2
pkgdesc="Set of utilities for freezing Python scripts into executables"
url="http://cx-freeze.sourceforge.net/"
arch="noarch"
arch="all"
license="PSF"
depends=""
depends_dev=""
......@@ -30,8 +30,8 @@ package() {
_py() {
local python=$1
pkgdesc="$pkgdesc - $python"
arch="all"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
......
......@@ -6,7 +6,7 @@ pkgver=1.1.2
pkgrel=0
pkgdesc="Python library for seamless coroutine-based concurrency"
url="http://gevent.org/"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends="python2-dev py-setuptools python3-dev libevent-dev file"
......@@ -27,8 +27,8 @@ package() {
_py() {
local python=$1
pkgdesc="$pkgdesc - $python"
arch="all"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
......
......@@ -6,7 +6,7 @@ pkgver=0.4.10
pkgrel=3
pkgdesc="Lightweight in-process concurrent programming"
url="http://pypi.python.org/pypi/greenlet"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends="python2-dev py-setuptools python3-dev"
......@@ -28,7 +28,6 @@ package() {
_py() {
local python=$1
pkgdesc="$pkgdesc - $python"
arch="all"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
......
......@@ -6,7 +6,7 @@ _pkgname=${pkgname#py-}
pkgrel=0
pkgdesc="LZ4 Bindings for Python"
url="https://pypi.python.org/pypi/lz4"
arch="noarch"
arch="all"
license="BSD"
makedepends="python2-dev python3-dev py-setuptools lz4-dev"
subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2 $pkgname-tests:_tests"
......@@ -27,7 +27,6 @@ _py() {
local python=$1
pkgdesc="$pkgdesc ${python#python}"
depends="$python"
arch="all"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
......
......@@ -6,7 +6,7 @@ pkgver=0.4.8
pkgrel=1
pkgdesc="A Python module for MessagePack serialization/deserialization"
url="http://pypi.python.org/pypi/msgpack-python/"
arch="noarch"
arch="all"
license="ASL 2.0"
depends=""
makedepends="python2-dev python3-dev py-setuptools"
......@@ -27,7 +27,6 @@ package() {
_py() {
local python=$1
pkgdesc="$pkgdesc (for $python)"
arch="all"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
......
......@@ -6,7 +6,7 @@ pkgver=4.3.1
pkgrel=0
pkgdesc="A cross-platform process and system utilities module for Python"
url="https://github.com/giampaolo/psutil"
arch="noarch"
arch="all"
license="BSD"
depends=""
makedepends="$depends_dev linux-headers python2-dev python3-dev"
......@@ -29,7 +29,6 @@ package() {
_py() {
local python=$1
pkgdesc="$pkgdesc - $python"
arch="all"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
$python setup.py install --prefix=/usr --root="$subpkgdir"
......
......@@ -6,7 +6,7 @@ pkgver=0.24.1
pkgrel=3
pkgdesc="Python bindings for libgit2"
url="https://github.com/libgit2/pygit2"
arch="noarch"
arch="all"
license="GPLv2"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
depends=""
......@@ -38,7 +38,6 @@ _py3() {
_py() {
local python=$1
arch="all"
pkgdesc="$pkgdesc - $python"
depends="$depends $python libgit2"
install_if="$pkgname=$pkgver-r$pkgrel $python"
......
......@@ -8,7 +8,7 @@ _verminor=${pkgver#*.}; _verminor=${_verminor%%.*}
pkgrel=1
pkgdesc="Python modules for implementing LDAP clients"
url="https://github.com/pyldap/pyldap"
arch="noarch"
arch="all"
license="PSF"
depends="libldap>=$_vermajor.$_verminor"
makedepends="python2-dev python3-dev openldap-dev>=$_vermajor.$_verminor"
......@@ -39,7 +39,6 @@ _py3() {
_py() {
local python="$1"
pkgdesc="$pkgdesc (for $python)"
arch="all"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
......
......@@ -7,7 +7,7 @@ pkgver=2.8.3
pkgrel=0
pkgdesc="Python DB-API 2.0 interface for the SQLite"
url="https://pypi.python.org/pypi/pysqlite"
arch="noarch"
arch="all"
license="MIT"
subpackages="py2-${pkgname/py-/}:_py2"
makedepends="python2-dev py-setuptools sqlite-dev"
......@@ -28,8 +28,8 @@ package() {
_py() {
local python=$1
pkgdesc="$pkgdesc - $python"
arch="all"
install_if="$pkgname=$pkgver-r$pkgrel $python"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
......
......@@ -6,7 +6,7 @@ pkgver=1.1.10
pkgrel=1
pkgdesc="A Python module to customize the process title"
url="https://github.com/dvarrazzo/py-setproctitle"
arch="noarch"
arch="all"
license="BSD"
depends=""
makedepends="python2-dev python3-dev musl-dev"
......@@ -37,7 +37,6 @@ _py3() {
_py() {
local python="$1"
pkgdesc="$pkgdesc (for $python)"
arch="all"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
......
......@@ -6,7 +6,7 @@ pkgver=1.0.14
pkgrel=0
pkgdesc="object relational mapper for python"
url="http://pypi.python.org/pypi/SQLAlchemy"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends="python2-dev py-setuptools python3-dev"
...