initial import
This commit is contained in:
36
tauthon-toml/PKGBUILD
Normal file
36
tauthon-toml/PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
_name=toml
|
||||
pkgname=tauthon-toml
|
||||
pkgver=0.10.2
|
||||
pkgrel=2
|
||||
pkgdesc='A Tauthon library for parsing and creating TOML'
|
||||
arch=('any')
|
||||
url='https://github.com/uiri/toml'
|
||||
license=('Expat')
|
||||
depends=('tauthon')
|
||||
makedepends=('tauthon-setuptools')
|
||||
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
|
||||
"tauthon-toml-0.10.1-install_type_hints.patch")
|
||||
sha512sums=('ede2c8fed610a3827dba828f6e7ab7a8dbd5745e8ef7c0cd955219afdc83b9caea714deee09e853627f05ad1c525dc60426a6e9e16f58758aa028cb4d3db4b39'
|
||||
'000fd1416341567a1828034f6e3844f7c5436e2b89f06b0ffa2567fc86d3b72dd4a8085d26d4366764446dfb050cfececaada4ca53f9c355c62aafb26ea87be4')
|
||||
|
||||
prepare() {
|
||||
cd "$_name-$pkgver"
|
||||
patch -Np1 -i "$srcdir/tauthon-toml-0.10.1-install_type_hints.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_name-$pkgver"
|
||||
tauthon setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_name-$pkgver"
|
||||
tauthon setup.py install --skip-build \
|
||||
--optimize=1 \
|
||||
--prefix=/usr \
|
||||
--root="${pkgdir}"
|
||||
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -Dm644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
}
|
||||
11
tauthon-toml/tauthon-toml-0.10.1-install_type_hints.patch
Normal file
11
tauthon-toml/tauthon-toml-0.10.1-install_type_hints.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -ruN a/setup.py b/setup.py
|
||||
--- a/setup.py 2020-01-03 20:37:49.000000000 +0000
|
||||
+++ b/setup.py 2020-09-13 17:38:30.016905954 +0000
|
||||
@@ -16,6 +16,7 @@
|
||||
author_email="uiri@xqz.ca",
|
||||
url="https://github.com/uiri/toml",
|
||||
packages=['toml'],
|
||||
+ package_data={'toml': ['*.pyi', '**/*.pyi']},
|
||||
license="MIT",
|
||||
long_description=readme_string,
|
||||
python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*",
|
||||
Reference in New Issue
Block a user