mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
 | |
| # Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
 | |
| pkgname=py3-metric-learn
 | |
| pkgver=0.6.2
 | |
| pkgrel=0
 | |
| pkgdesc="Metric learning algorithms in Python"
 | |
| url="https://github.com/scikit-learn-contrib/metric-learn"
 | |
| # py3-scikit-learn is missing on s390x
 | |
| arch="noarch !s390x"
 | |
| license="MIT"
 | |
| depends="
 | |
| 	python3
 | |
| 	py3-numpy
 | |
| 	py3-scipy
 | |
| 	py3-scikit-learn
 | |
| 	"
 | |
| makedepends="py3-setuptools"
 | |
| checkdepends="py3-pytest"
 | |
| source="https://github.com/scikit-learn-contrib/metric-learn/archive/v$pkgver/metric-learn-$pkgver.tar.gz"
 | |
| builddir="$srcdir/metric-learn-$pkgver"
 | |
| # the most recent version of sklearn removed the sklearn.utils.testing that is used in tests
 | |
| # hence, we disable tests for now
 | |
| options="!check"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 71467c235add22bf4725db12ca624dd7a65e7f5479ed8c8496363a925ee959afbc590c8b4e471033e2c71f99adaac814eabf3df4a6bdbdb2bf5a0d17f9a4a2d7  metric-learn-0.6.2.tar.gz
 | |
| "
 |