mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	this doesn't really "optimise" the python or do much to improve performance. it's identical to running python with -O or setting PYTHONOPTIMISE= in the environment. doing it here just doubles the disk space for the pre-cached files generated by python on startup with optimisations
		
			
				
	
	
		
			31 lines
		
	
	
		
			773 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			773 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: David Florness <david@florness.com>
 | |
| # Maintainer: David Florness <david@florness.com>
 | |
| pkgname=py3-ifaddr
 | |
| pkgver=0.2.0
 | |
| pkgrel=2
 | |
| pkgdesc="Enumerates all IP addresses on all network adapters of the system"
 | |
| url="https://github.com/pydron/ifaddr"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| options="!check"
 | |
| depends="python3"
 | |
| makedepends="py3-setuptools"
 | |
| source="https://github.com/pydron/ifaddr/archive/$pkgver/ifaddr-$pkgver.tar.gz"
 | |
| builddir="$srcdir/ifaddr-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 setup.py test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --root="$pkgdir" --skip-build
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 47d26932ecf1aabbbecc738ac0d9a6d276f3e3131650b76896553db3f17392916357d31991d7098ff3efa1cb6bec20a41848be03221d179c2f454f94a39cb587  ifaddr-0.2.0.tar.gz
 | |
| "
 |