Update version to 1.3.0
Fix setuptools deprecated warning Follow https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)
This commit is contained in:
		
							
								
								
									
										8
									
								
								.SRCINFO
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								.SRCINFO
									
									
									
									
									
								
							| @@ -1,13 +1,13 @@ | |||||||
| pkgbase = python-genson | pkgbase = python-genson | ||||||
| 	pkgdesc = GenSON is a powerful, user-friendly JSON Schema generator. | 	pkgdesc = GenSON is a powerful, user-friendly JSON Schema generator. | ||||||
| 	pkgver = 1.2.2 | 	pkgver = 1.3.0 | ||||||
| 	pkgrel = 1 | 	pkgrel = 11 | ||||||
| 	url = https://github.com/wolverdude/genson | 	url = https://github.com/wolverdude/genson | ||||||
| 	arch = any | 	arch = any | ||||||
| 	license = MIT | 	license = MIT | ||||||
| 	makedepends = python-setuptools | 	makedepends = python-setuptools | ||||||
| 	depends = python | 	depends = python | ||||||
| 	source = https://files.pythonhosted.org/packages/source/g/genson/genson-1.2.2.tar.gz | 	source = https://files.pythonhosted.org/packages/source/g/genson/genson-1.3.0.tar.gz | ||||||
| 	sha256sums = 8caf69aa10af7aee0e1a1351d1d06801f4696e005f06cedef438635384346a16 | 	sha256sums = e02db9ac2e3fd29e65b5286f7135762e2cd8a986537c075b06fc5f1517308e37 | ||||||
|  |  | ||||||
| pkgname = python-genson | pkgname = python-genson | ||||||
|   | |||||||
							
								
								
									
										18
									
								
								PKGBUILD
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								PKGBUILD
									
									
									
									
									
								
							| @@ -2,18 +2,24 @@ | |||||||
|  |  | ||||||
| _name=genson | _name=genson | ||||||
| pkgname=python-$_name | pkgname=python-$_name | ||||||
| pkgver=1.2.2 | pkgver=1.3.0 | ||||||
| pkgrel=1 | pkgrel=11 | ||||||
| pkgdesc='GenSON is a powerful, user-friendly JSON Schema generator.' | pkgdesc='GenSON is a powerful, user-friendly JSON Schema generator.' | ||||||
| arch=(any) | arch=(any) | ||||||
| url="https://github.com/wolverdude/$_name" | url="https://github.com/wolverdude/$_name" | ||||||
| license=(MIT) | license=(MIT) | ||||||
| depends=(python) | depends=(python) | ||||||
| makedepends=(python-setuptools) | makedepends=(python-setuptools python-build python-installer python-wheel) | ||||||
| source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz") | source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz") | ||||||
| sha256sums=('8caf69aa10af7aee0e1a1351d1d06801f4696e005f06cedef438635384346a16') | sha256sums=('e02db9ac2e3fd29e65b5286f7135762e2cd8a986537c075b06fc5f1517308e37') | ||||||
|  |  | ||||||
|  |  | ||||||
|  | build() { | ||||||
|  |     cd $_name-$pkgver | ||||||
|  |     python -m build --wheel --no-isolation | ||||||
|  | } | ||||||
|  |  | ||||||
| package() { | package() { | ||||||
| 	cd "$srcdir/${_name//-/_}-$pkgver" |     cd $_name-$pkgver | ||||||
| 	python setup.py install --root="$pkgdir" --optimize=1 |     python -m installer --destdir="$pkgdir" dist/*.whl | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user