mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/py-apsw: remove boilerplate comments
This commit is contained in:
parent
b97ec7be82
commit
a91b87781b
@ -6,7 +6,7 @@ pkgver=3.23.1
|
||||
_pkgrel=r1
|
||||
pkgrel=0
|
||||
pkgdesc="Another Python SQLite Wrapper"
|
||||
url="https://github.com/rogerbinns/apsw/"
|
||||
url="https://github.com/rogerbinns/apsw"
|
||||
arch="all"
|
||||
license="zlib"
|
||||
makedepends="python2-dev python3-dev py-setuptools sqlite-dev"
|
||||
@ -33,19 +33,19 @@ package() {
|
||||
|
||||
_py2() {
|
||||
replaces="$pkgname"
|
||||
depends="${depends//py-/py2-}" ## remove if there are no common Python dependencies
|
||||
depends="${depends//py-/py2-}"
|
||||
_py python2
|
||||
}
|
||||
|
||||
_py3() {
|
||||
depends="${depends//py-/py3-}" ## remove if there are no common Python dependencies
|
||||
depends="${depends//py-/py3-}"
|
||||
_py python3
|
||||
}
|
||||
|
||||
_py() {
|
||||
local python="$1"
|
||||
pkgdesc="$pkgdesc (for $python)"
|
||||
depends="$depends $python" ## remove if arch isn't noarch
|
||||
depends="$depends $python"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel $python"
|
||||
|
||||
cd "$builddir"
|
||||
|
Loading…
Reference in New Issue
Block a user