python update
This commit is contained in:
1 parent
95d3b771e7
commit
d799fb4687
59 files changed
+290
-296
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='smartypants'
|
||||
release='1'
|
||||
version='2.0.1'
|
||||
release='2'
|
||||
version='2.0.2'
|
||||
url='https://github.com/leohemsted/smartypants.py/'
|
||||
description='ASCII quote-dot-dash to HTML entity converter'
|
||||
email='bayramk@gmail.com'
|
||||
@@ -10,7 +10,7 @@ license=('GPLv3')
|
||||
source=("https://github.com/leohemsted/smartypants.py/archive/refs/tags/v$version.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=()
|
||||
md5sums=('27957540f4718e892039b2ed208c78f3')
|
||||
sha256sums=('560ae7485a27c288f5bd63131f5c3c7b8f0745f50e7c3f85f0bbc65d87799d19')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
@@ -18,9 +18,10 @@ arch=('x86_64')
|
||||
cd $name.py-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
python3 -m build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
python3 -m installer --destdir="$DESTDIR" dist/*.whl
|
||||
mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3
|
||||
}
|
||||
Reference in new issue
Block a user