mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 20:52:55 +01:00
Add support for NumPy 2
This commit is contained in:
parent
d5aeb71f9f
commit
8fdb0dcd7e
2 changed files with 13 additions and 4 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = python-copulas
|
||||
pkgdesc = Create tabular synthetic data using copulas-based modeling
|
||||
pkgver = 0.11.0
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/sdv-dev/Copulas
|
||||
arch = x86_64
|
||||
license = BUSL-1.1
|
||||
|
|
@ -18,6 +18,8 @@ pkgbase = python-copulas
|
|||
optdepends = python-scikit-learn
|
||||
optdepends = jupyter-notebook
|
||||
source = Copulas-0.11.0.tar.gz::https://github.com/sdv-dev/Copulas/archive/v0.11.0.tar.gz
|
||||
source = numpy2.patch::https://github.com/sdv-dev/Copulas/pull/414.patch
|
||||
sha512sums = 51ef4854df8948cd117cd41957ae829d72851ae3d9e9bbf982d04903d988c23cf292d5e1fd61128eb426b7a7daa36e689c821467d8a16d22fb8c5904d588688a
|
||||
sha512sums = 41e96aace81be6a9688a8de385245a751a1c78eac3be0768e536ec13228ef44463c9bae2b7e9ec0d215174a006a6503836a02cf0c1d17b31a1017e69bf1a8dd1
|
||||
|
||||
pkgname = python-copulas
|
||||
|
|
|
|||
13
PKGBUILD
13
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
|||
_base=Copulas
|
||||
pkgname=python-${_base,,}
|
||||
pkgver=0.11.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Create tabular synthetic data using copulas-based modeling"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/sdv-dev/${_base}"
|
||||
|
|
@ -11,8 +11,15 @@ depends=(python-pandas python-plotly python-scipy)
|
|||
makedepends=(python-build python-installer python-setuptools python-wheel)
|
||||
optdepends=('python-markupsafe' 'python-scikit-learn' 'jupyter-notebook')
|
||||
checkdepends=(python-pytest python-invoke)
|
||||
source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz)
|
||||
sha512sums=('51ef4854df8948cd117cd41957ae829d72851ae3d9e9bbf982d04903d988c23cf292d5e1fd61128eb426b7a7daa36e689c821467d8a16d22fb8c5904d588688a')
|
||||
source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz
|
||||
numpy2.patch::${url}/pull/414.patch)
|
||||
sha512sums=('51ef4854df8948cd117cd41957ae829d72851ae3d9e9bbf982d04903d988c23cf292d5e1fd61128eb426b7a7daa36e689c821467d8a16d22fb8c5904d588688a'
|
||||
'41e96aace81be6a9688a8de385245a751a1c78eac3be0768e536ec13228ef44463c9bae2b7e9ec0d215174a006a6503836a02cf0c1d17b31a1017e69bf1a8dd1')
|
||||
|
||||
prepare() {
|
||||
cd ${_base}-${pkgver}
|
||||
patch -p1 -i ../numpy2.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${_base}-${pkgver}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue