aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-08-11 00:52:47 +0000
committeralice <alice@ayaya.dev>2022-08-11 13:46:53 +0000
commit9432a48d04bc649f9db0e1826fe3c1191f4e9147 (patch)
tree17dc045831dd7db3170e135d3acacb6176435b6a
parent502819fa5e94b55271c904b0f9ecb9dbc30ecbba (diff)
downloadaports-9432a48d04bc649f9db0e1826fe3c1191f4e9147.tar.gz
aports-9432a48d04bc649f9db0e1826fe3c1191f4e9147.tar.bz2
aports-9432a48d04bc649f9db0e1826fe3c1191f4e9147.tar.xz
main/boost1.79: unset as default boost
-rw-r--r--main/boost1.79/APKBUILD38
1 files changed, 1 insertions, 37 deletions
diff --git a/main/boost1.79/APKBUILD b/main/boost1.79/APKBUILD
index 2292013a42..d3798166a7 100644
--- a/main/boost1.79/APKBUILD
+++ b/main/boost1.79/APKBUILD
@@ -2,7 +2,7 @@
pkgname=boost1.79
pkgver=1.79.0
_pkgver="${pkgver//./_}"
-pkgrel=1
+pkgrel=2
pkgdesc="Free peer-reviewed portable C++ source libraries"
url="https://www.boost.org/"
arch="all"
@@ -14,7 +14,6 @@ subpackages="
$pkgname-static
$pkgname-dev
$pkgname-doc
- boost-dev:_dev
"
source="https://boostorg.jfrog.io/artifactory/main/release/$pkgver/source/boost_$_pkgver.tar.bz2
boost-1.57.0-python-abi_letters.patch
@@ -66,11 +65,6 @@ for _lib in $_libs; do
done; unset -v _lib
subpackages="$subpackages $pkgname-libs"
-# Claim the unversioned name, this must be removed once we switch our
-# boost to a new version
-provides="boost=$pkgver-r$pkgrel"
-replaces="boost boost1.78"
-
_set_options() {
local _python="$(_pyversion python3)"
export PY3_VERSION="$_python"
@@ -153,11 +147,6 @@ static() {
pkgdesc="Boost static libraries"
depends="$depends_static"
- # Claim the unversioned name, this must be removed once we switch our
- # boost to a new version
- provides="boost-static=$pkgver-r$pkgrel"
- replaces="boost-static"
-
amove usr/lib/lib*.a
}
@@ -166,22 +155,12 @@ _boostlib() {
pkgdesc="Boost $name shared library"
depends="$depends__boostlib"
- # Claim the unversioned name, this must be removed once we switch our
- # boost to a new version
- provides="boost-$name=$pkgver-r$pkgrel"
- replaces="boost-$name"
-
amove usr/lib/libboost_$name*.so.[0-9]*
}
libs() {
default_libs
- # Claim the unversioned name, this must be removed once we switch our
- # boost to a new version
- provides="boost-libs=$pkgver-r$pkgrel"
- replaces="boost-libs"
-
pkgdesc="Boost shared libraries"
depends="$depends_libs"
local _pkg; for _pkg in $origsubpackages; do
@@ -202,21 +181,6 @@ dev() {
replaces="boost1.78-dev"
}
-_dev() {
- # This makes boost-dev be a metapackage that depends on boostX.Y-dev
- mkdir -p "$subpkgdir"
- depends="$pkgname-dev=$pkgver-r$pkgrel"
-}
-
-doc() {
- # Claim the unversioned name, this must be removed once we switch our
- # boost to a new version
- provides="boost-doc=$pkgver-r$pkgrel"
- replaces="boost-doc"
-
- default_doc
-}
-
_pyversion() {
"$1" -c 'import sys; print("%i.%i" % (sys.version_info.major, sys.version_info.minor))'
}