fix py modules
This commit is contained in:
1 parent
696272146a
commit
f0c770b3dc
5 files changed
+12
-7
No files matched your search
@@ -11,7 +11,7 @@ source=('https://files.pythonhosted.org/packages/95/7e/68018b70268fb4a2a605e2be4
|
||||
depends=(python)
|
||||
makedepends=()
|
||||
md5sums=('02f337b98aef11bd0fee9c5ae860173b')
|
||||
group=()
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
name='setuptools'
|
||||
name='py3-setuptools'
|
||||
release='1'
|
||||
version='65.6.3'
|
||||
url='https://pypi.org/project/setuptools/'
|
||||
@@ -15,7 +15,7 @@ uses=()
|
||||
group=(dev.python)
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
cd setuptools-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
@@ -8,7 +8,7 @@ email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/mesonbuild/meson/releases/download/$version/meson-$version.tar.gz")
|
||||
depends=(python setuptools)
|
||||
depends=(python py3-setuptools)
|
||||
makedepends=( )
|
||||
md5sums=('9f260adfcbc66ed2e15047c6eb98e503')
|
||||
uses=()
|
||||
@@ -29,6 +29,6 @@ package(){
|
||||
install -Dt "${DESTDIR}/usr/share/bash-completion/completions" -m644 data/shell-completions/bash/*
|
||||
install -Dt "${DESTDIR}/usr/share/zsh/site-functions" -m644 data/shell-completions/zsh/*
|
||||
# fix hardcoded interpreter location
|
||||
sed -i "1s|.*|#!/usr/bin/env python3|g" "${DESTDIR}/usr/bin/meson"
|
||||
sed -i "1s|.*|#!/usr/bin/python3|g" "${DESTDIR}/usr/bin/meson"
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-$version/mesa-mesa-$version.tar.gz")
|
||||
depends=(libva libvdpau libdrm llvm glslang)
|
||||
depends=(libva libvdpau libdrm llvm glslang elfutils)
|
||||
makedepends=(git)
|
||||
md5sums=('ed193340000a3f32946d490ea53aaddd')
|
||||
group=(media.libs)
|
||||
|
||||
@@ -19,7 +19,9 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
--libdir=/usr/lib64 \
|
||||
--with-python_prefix=/usr/lib64/python3 \
|
||||
--with-python_exec_prefix=/usr/lib64/python3
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -28,4 +30,7 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
# Move files
|
||||
mv ${DESTDIR}/usr/lib64/python3/lib/python*/site-packages/xcbgen ${DESTDIR}/usr/lib64/python3/xcbgen
|
||||
rm -rf ${DESTDIR}/usr/lib64/python3/lib
|
||||
}
|
||||
Reference in new issue
Block a user