added python2 mat dependencies
upg libvirt mat2
This commit is contained in:
parent
5e225f6ad4
commit
f95454c0e1
23 changed files with 382 additions and 30 deletions
|
@ -7,10 +7,9 @@
|
|||
|
||||
pkgname=(libvirt) # (libvirt-storage-gluster libvirt-storage-iscsi-direct libvirt-storage-rbd)
|
||||
epoch=1
|
||||
pkgver=9.0.0
|
||||
pkgver=9.1.0
|
||||
pkgrel=01
|
||||
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc) w/o zstd iscsi systemd"
|
||||
arch=('x86_64')
|
||||
url="https://libvirt.org/"
|
||||
depends=('libpciaccess' 'yajl' 'fuse3' 'gnutls' 'parted' 'libssh' 'libxml2' 'numactl' 'polkit')
|
||||
#makedepends=('open-iscsi' 'ceph-libs') # need systemd-libs
|
||||
|
@ -38,8 +37,8 @@ backup=(
|
|||
'etc/libvirt/nwfilter/allow-dhcp.xml'
|
||||
'etc/libvirt/nwfilter/allow-dhcpv6.xml'
|
||||
'etc/libvirt/nwfilter/allow-incoming-ipv4.xml'
|
||||
'etc/libvirt/nwfilter/allow-incoming-ipv6.xml'
|
||||
'etc/libvirt/nwfilter/allow-ipv6.xml'
|
||||
# 'etc/libvirt/nwfilter/allow-incoming-ipv6.xml'
|
||||
# 'etc/libvirt/nwfilter/allow-ipv6.xml'
|
||||
'etc/libvirt/nwfilter/allow-ipv4.xml'
|
||||
'etc/libvirt/nwfilter/clean-traffic-gateway.xml'
|
||||
'etc/libvirt/nwfilter/clean-traffic.xml'
|
||||
|
@ -47,9 +46,9 @@ backup=(
|
|||
'etc/libvirt/nwfilter/no-arp-mac-spoofing.xml'
|
||||
'etc/libvirt/nwfilter/no-arp-spoofing.xml'
|
||||
'etc/libvirt/nwfilter/no-ip-multicast.xml'
|
||||
'etc/libvirt/nwfilter/no-ipv6-multicast.xml'
|
||||
# 'etc/libvirt/nwfilter/no-ipv6-multicast.xml'
|
||||
'etc/libvirt/nwfilter/no-ip-spoofing.xml'
|
||||
'etc/libvirt/nwfilter/no-ipv6-spoofing.xml'
|
||||
# 'etc/libvirt/nwfilter/no-ipv6-spoofing.xml'
|
||||
'etc/libvirt/nwfilter/no-mac-spoofing.xml'
|
||||
'etc/libvirt/nwfilter/no-mac-broadcast.xml'
|
||||
'etc/libvirt/nwfilter/no-other-l2-traffic.xml'
|
||||
|
@ -236,15 +235,18 @@ package() {
|
|||
# install -Dv -t "$pkgdir/usr/lib/libvirt/storage-backend" "$pkgdir/../libvirt_storage_backend_rbd.so"
|
||||
#}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=('x86_64')
|
||||
|
||||
license=('LGPL' 'GPL3') #libvirt_parthelper links to libparted which is GPL3 only
|
||||
|
||||
validpgpkeys=('453B65310595562855471199CA68BE8010084C9C') # Jiří Denemark <jdenemar@redhat.com>
|
||||
|
||||
sha256sums=(deca5cff1b7baac297bca9663907c61f71a47183371dc7ac019c107806d5435a # libvirt-9.0.0.tar.xz
|
||||
ffc706611d262cfba27b6a391e5bbb517534cbade709e5dd9b0b8f86f3f3479f # libvirt-9.0.0.tar.xz.asc
|
||||
sha256sums=(defebea252a24c1800fbf484b14018b6261192acbac5bda8395e47eba2a14d6a # libvirt-9.1.0.tar.xz
|
||||
38e3f92595d67315fed5833a0dad4c63fd98ffa0d79c01e715295abf8dc3086a # libvirt-9.1.0.tar.xz.asc
|
||||
6dc7907d6d4d883ac5ea15c195af673c97cff13f4c0493d23196e94bc87f04db # libvirt.sysusers
|
||||
465a3e535cdc5549beaf82b41f53b27d5352aab1313277fd0c2f33004d0d59ba) # libvirt.tmpfiles
|
||||
|
||||
|
||||
## e1739203bd0c57ca3b6981bf311116a94ba498e86fdda5cde801546ddb750605 libvirt-1:9.1.0-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
pkgname=(libvirt libvirt-storage-gluster libvirt-storage-iscsi-direct)
|
||||
epoch=1
|
||||
pkgver=9.0.0
|
||||
pkgver=9.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)"
|
||||
arch=('x86_64')
|
||||
|
@ -83,7 +83,7 @@ backup=(
|
|||
source=(
|
||||
"https://libvirt.org/sources/$pkgname-$pkgver.tar.xz"{,.asc}
|
||||
)
|
||||
sha256sums=('deca5cff1b7baac297bca9663907c61f71a47183371dc7ac019c107806d5435a'
|
||||
sha256sums=('defebea252a24c1800fbf484b14018b6261192acbac5bda8395e47eba2a14d6a'
|
||||
'SKIP')
|
||||
validpgpkeys=('453B65310595562855471199CA68BE8010084C9C') # Jiří Denemark <jdenemar@redhat.com>
|
||||
|
||||
|
|
|
@ -6,40 +6,48 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=mat2
|
||||
pkgver=0.13.0.4.gcc5be86
|
||||
pkgrel=02
|
||||
pkgver=0.13.3
|
||||
pkgrel=01
|
||||
pkgdesc='Metadata removal tool, supporting a wide range of commonly used file formats'
|
||||
url='https://0xacab.org/jvoisin/mat2'
|
||||
arch=('any')
|
||||
depends=('python' 'python-mutagen' 'python-cairo' 'python-gobject' 'gdk-pixbuf2' 'poppler-glib' 'librsvg' 'perl-image-exiftool' 'mailcap')
|
||||
makedepends=('python-setuptools' git)
|
||||
makedepends=(python-setuptools)
|
||||
optdepends=(
|
||||
'ffmpeg: video support'
|
||||
'bubblewrap: sandboxing support'
|
||||
)
|
||||
checkdepends=('ffmpeg')
|
||||
conflicts=(mat mat2-git)
|
||||
provides=(mat mat-git mat2-git)
|
||||
source=("git+https://0xacab.org/jvoisin/${pkgname}.git")
|
||||
provides=(mat)
|
||||
#source=("git+https://0xacab.org/jvoisin/${pkgname}.git")
|
||||
source=(https://0xacab.org/jvoisin/mat2/-/archive/${pkgver}/mat2-${pkgver}.tar.gz
|
||||
https://0xacab.org/jvoisin/mat2/uploads/672c73a1b8b0e79cdf7187900f3cc8ca/mat2-0.13.3.tar.gz.asc
|
||||
https://0xacab.org/jvoisin/mat2/-/commit/ed0ffa5693b6d710b19a9101d6cb0625f8b6f1fc.patch)
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
patch -i ../ed0ffa5693b6d710b19a9101d6cb0625f8b6f1fc.patch
|
||||
}
|
||||
|
||||
#pkgver() {
|
||||
# cd "${srcdir}/${pkgname}"
|
||||
# local ver="$(git describe --tags | sed 's|-|\.|g')"
|
||||
# printf "%s" "${ver//-/.}"
|
||||
#}
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
local ver="$(git describe --tags | sed 's|-|\.|g')"
|
||||
printf "%s" "${ver//-/.}"
|
||||
}
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
export PYTHONHASHSEED=0
|
||||
python setup.py build
|
||||
cd ${pkgname}-${pkgver}
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
cd ${pkgname}-${pkgver}
|
||||
python -m unittest discover -v
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
cd ${pkgname}-${pkgver}
|
||||
python setup.py install --skip-build -O1 --root="${pkgdir}"
|
||||
install -Dm 644 dolphin/mat2.desktop -t "${pkgdir}/usr/share/kservices5/ServiceMenus"
|
||||
install -Dm 644 doc/mat2.1 -t "${pkgdir}/usr/share/man/man1"
|
||||
|
@ -50,5 +58,12 @@ package() {
|
|||
|
||||
license=('LGPL3')
|
||||
|
||||
sha256sums=(SKIP)
|
||||
validpgpkeys=('9FCDEE9E1A381F311EA62A7404D041E8171901CC') # Julien (jvoisin) Voisin
|
||||
|
||||
sha256sums=(e1bb0161fa1c2f2adb1b933761f9569534309e90209568f96aca5fc8a74f511a # mat2-0.13.3.tar.gz
|
||||
719ad1fece574324f9a2e1ac134048534bc5660eed7e19556882d26d41c42269 # mat2-0.13.3.tar.gz.asc
|
||||
f5f91f36f45b3a2f29adb389e88f06e0d3036fbbc6085da181b53d9d2d3e8c22) # ed0ffa5693b6d710b19a9101d6cb0625f8b6f1fc.patch
|
||||
|
||||
## 07a4cf2b1372c1cf97aaed3d8cbe5477c3be96ca521a2737469989a74f24b9f1 mat2-0.13.3-01-any.pkg.tar.lz
|
||||
|
||||
|
||||
|
|
53
mat2/PKGBUILD-arch
Normal file
53
mat2/PKGBUILD-arch
Normal file
|
@ -0,0 +1,53 @@
|
|||
# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
|
||||
# Contributor: Francois Boulogne <devel at sciunto dot org>
|
||||
|
||||
pkgname=mat2
|
||||
pkgver=0.13.3
|
||||
pkgrel=1
|
||||
pkgdesc='Metadata removal tool, supporting a wide range of commonly used file formats'
|
||||
url='https://0xacab.org/jvoisin/mat2'
|
||||
arch=('any')
|
||||
license=('LGPL3')
|
||||
depends=('python' 'python-mutagen' 'python-cairo' 'python-gobject' 'gdk-pixbuf2' 'poppler-glib' 'librsvg' 'perl-image-exiftool' 'mailcap')
|
||||
makedepends=('python-setuptools')
|
||||
optdepends=(
|
||||
'ffmpeg: video support'
|
||||
'bubblewrap: sandboxing support'
|
||||
)
|
||||
checkdepends=('ffmpeg')
|
||||
source=(https://0xacab.org/jvoisin/mat2/-/archive/${pkgver}/mat2-${pkgver}.tar.gz
|
||||
https://0xacab.org/jvoisin/mat2/uploads/672c73a1b8b0e79cdf7187900f3cc8ca/mat2-0.13.3.tar.gz.asc
|
||||
https://0xacab.org/jvoisin/mat2/-/commit/ed0ffa5693b6d710b19a9101d6cb0625f8b6f1fc.patch)
|
||||
sha512sums=('48405de214b69e6d6fe818580ce758817632a4a3ab6cc6b73e7c13d0db2d5cd75a4ffffab22ce1b5dc73a6cc03da9436e44e290f74700027277ec18db023a6fb'
|
||||
'SKIP'
|
||||
'2871800a28883c40a7779498692fea480f6e75f8412db3269494b62170a6d0439c109c857a52b33270596b2e3e9f0716c18ed16cde0533944acacaea501376c9')
|
||||
b2sums=('26ace57f5ac8ba2444a389615cb89f30e27a89f2e704620dcf0e0999f9643d7b46f6a920ead1ee747c1ac7f818cdb3fe0dcd3acf3b370545414aefd7e1c3850c'
|
||||
'SKIP'
|
||||
'6e55c1be6d401860703267232e423de4cff2cc9141f0d058979d0f1aace08e4636b59e948c8dec1f5e8011f5299c503f091038466f661baf3dba8b75281e55de')
|
||||
|
||||
validpgpkeys=('9FCDEE9E1A381F311EA62A7404D041E8171901CC') # Julien (jvoisin) Voisin
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
patch -i ../ed0ffa5693b6d710b19a9101d6cb0625f8b6f1fc.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
python -m unittest discover -v
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
python setup.py install --skip-build -O1 --root="${pkgdir}"
|
||||
install -Dm 644 dolphin/mat2.desktop -t "${pkgdir}/usr/share/kservices5/ServiceMenus"
|
||||
install -Dm 644 doc/mat2.1 -t "${pkgdir}/usr/share/man/man1"
|
||||
install -Dm 644 doc/*.md -t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
|
@ -1 +1 @@
|
|||
rm -rf {src,pkg,mat2}
|
||||
rm -rf {src,pkg,mat2*tar.gz*}
|
||||
|
|
|
@ -8,7 +8,9 @@ librsvg
|
|||
perl-image-exiftool
|
||||
mailcap
|
||||
python-setuptools
|
||||
git
|
||||
ffmpeg
|
||||
gettext
|
||||
jack2
|
||||
|
||||
|
||||
libgit2
|
||||
|
|
23
mat2/ed0ffa5693b6d710b19a9101d6cb0625f8b6f1fc.patch
Normal file
23
mat2/ed0ffa5693b6d710b19a9101d6cb0625f8b6f1fc.patch
Normal file
|
@ -0,0 +1,23 @@
|
|||
From ed0ffa5693b6d710b19a9101d6cb0625f8b6f1fc Mon Sep 17 00:00:00 2001
|
||||
From: Rui Chen <rui@chenrui.dev>
|
||||
Date: Fri, 24 Feb 2023 09:12:06 +0000
|
||||
Subject: [PATCH] Update `pyproject.toml` to include `version`
|
||||
|
||||
---
|
||||
pyproject.toml | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 0125edf..4956b85 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -1,5 +1,6 @@
|
||||
[project]
|
||||
name = "mat"
|
||||
+version = "0.13.3"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9"
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
1
mat2/key
Normal file
1
mat2/key
Normal file
|
@ -0,0 +1 @@
|
|||
gpg -v --recv-key 04D041E8171901CC
|
33
python2-distutils-extra/PKGBUILD
Normal file
33
python2-distutils-extra/PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
_pkgname=python-distutils-extra
|
||||
pkgname=python2-distutils-extra
|
||||
pkgver=2.39
|
||||
pkgrel=06
|
||||
pkgdesc='Enhancements to the Python build system'
|
||||
url='https://launchpad.net/python-distutils-extra'
|
||||
depends=('intltool' 'python2')
|
||||
makedepends=('python2-setuptools' 'intltool')
|
||||
source=(https://launchpad.net/$_pkgname/trunk/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/$_pkgname-$pkgver"
|
||||
python2 setup.py install --root="${pkgdir}"
|
||||
}
|
||||
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('GPL')
|
||||
|
||||
sha256sums=(723f24f4d65fc8d99b33a002fbbb3771d4cc9d664c97085bf37f3997ae8063af) # python-distutils-extra-2.39.tar.gz
|
||||
|
||||
## f52f1921a3fe4a210beec8ef56a903cf0fe331d3b8c07dd569cb878d80c6f0b8 python2-distutils-extra-2.39-06-x86_64.pkg.tar.lz
|
||||
|
22
python2-distutils-extra/PKGBUILD-aur
Normal file
22
python2-distutils-extra/PKGBUILD-aur
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Maintainer: Fabius
|
||||
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
|
||||
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
|
||||
|
||||
_pkgname=python-distutils-extra
|
||||
pkgname=python2-distutils-extra
|
||||
pkgver=2.39
|
||||
pkgrel=5
|
||||
pkgdesc='Enhancements to the Python build system'
|
||||
arch=('any')
|
||||
license=('GPL')
|
||||
url='https://launchpad.net/python-distutils-extra'
|
||||
depends=('intltool' 'python2')
|
||||
makedepends=('python2-setuptools' 'intltool')
|
||||
source=(https://launchpad.net/$_pkgname/trunk/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
|
||||
md5sums=('16e06db0ef73a35b4bff4b9eed5699b5')
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/$_pkgname-$pkgver"
|
||||
python2 setup.py install --root="${pkgdir}"
|
||||
}
|
||||
|
1
python2-distutils-extra/clean
Normal file
1
python2-distutils-extra/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,python-distutils-ex*tar.gz}
|
5
python2-distutils-extra/deps
Normal file
5
python2-distutils-extra/deps
Normal file
|
@ -0,0 +1,5 @@
|
|||
intltool
|
||||
python2
|
||||
python2-setuptools
|
||||
intltool
|
||||
|
6
python2-distutils-extra/time
Normal file
6
python2-distutils-extra/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m1.805s
|
||||
user 0m1.727s
|
||||
sys 0m0.243s
|
||||
|
41
python2-gobject/PKGBUILD
Normal file
41
python2-gobject/PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=python2-gobject
|
||||
pkgver=3.36.1
|
||||
pkgrel=06
|
||||
pkgdesc="Python 2 Bindings for GLib/GObject/GIO/GTK+"
|
||||
url="https://wiki.gnome.org/Projects/PyGObject"
|
||||
depends=(gobject-introspection-runtime python2)
|
||||
makedepends=(python2-cairo gobject-introspection git meson)
|
||||
optdepends=('cairo: Cairo bindings')
|
||||
_commit=5c6bee1c2a0d08cf367aa61784b5b967128e68b2 # tags/3.36.1^0
|
||||
source=("git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit")
|
||||
|
||||
build() {
|
||||
arch-meson pygobject build -D python=/usr/bin/python2
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
package_python2-gobject() {
|
||||
DESTDIR="$pkgdir" meson install -C build
|
||||
python2 -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||
python2 -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||
|
||||
# Remove devel stuff conflicting with python-gobject
|
||||
rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=(LGPL)
|
||||
|
||||
sha256sums=('SKIP')
|
||||
|
||||
## 58b72c9815ca12facaf467508714634e19ccb858b72e99773d7aee96c3ee81aa python2-gobject-3.36.1-06-x86_64.pkg.tar.lz
|
31
python2-gobject/PKGBUILD-aur
Normal file
31
python2-gobject/PKGBUILD-aur
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Maintainer: Bruno Pagani <archange@archlinux.org>
|
||||
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
||||
|
||||
pkgname=python2-gobject
|
||||
pkgver=3.36.1
|
||||
pkgrel=5
|
||||
pkgdesc="Python 2 Bindings for GLib/GObject/GIO/GTK+"
|
||||
url="https://wiki.gnome.org/Projects/PyGObject"
|
||||
arch=(x86_64)
|
||||
license=(LGPL)
|
||||
depends=(gobject-introspection-runtime python2)
|
||||
makedepends=(python2-cairo gobject-introspection git meson)
|
||||
optdepends=('cairo: Cairo bindings')
|
||||
_commit=5c6bee1c2a0d08cf367aa61784b5b967128e68b2 # tags/3.36.1^0
|
||||
source=("git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
arch-meson pygobject build -D python=/usr/bin/python2
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
package_python2-gobject() {
|
||||
DESTDIR="$pkgdir" meson install -C build
|
||||
python2 -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||
python2 -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||
|
||||
# Remove devel stuff conflicting with python-gobject
|
||||
rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
|
||||
}
|
1
python2-gobject/clean
Normal file
1
python2-gobject/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,pygobject}
|
7
python2-gobject/deps
Normal file
7
python2-gobject/deps
Normal file
|
@ -0,0 +1,7 @@
|
|||
gobject-introspection-runtime
|
||||
python2
|
||||
python2-cairo
|
||||
gobject-introspection
|
||||
git
|
||||
meson
|
||||
|
6
python2-gobject/time
Normal file
6
python2-gobject/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m26.967s
|
||||
user 0m32.415s
|
||||
sys 0m2.733s
|
||||
|
52
python2-setuptools/PKGBUILD
Normal file
52
python2-setuptools/PKGBUILD
Normal file
|
@ -0,0 +1,52 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=python2-setuptools
|
||||
pkgver=44.1.1
|
||||
pkgrel=03
|
||||
epoch=2
|
||||
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
|
||||
url="https://pypi.org/project/setuptools/"
|
||||
depends=('python2')
|
||||
makedepends=('git')
|
||||
provides=('python2-distribute')
|
||||
replaces=('python2-distribute')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz")
|
||||
|
||||
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
||||
|
||||
prepare() {
|
||||
# Remove post-release tag since we are using stable tags
|
||||
sed -e '/tag_build = .post/d' \
|
||||
-e '/tag_date = 1/d' \
|
||||
-i setuptools-$pkgver/setup.cfg
|
||||
|
||||
cd "$srcdir"/setuptools-$pkgver
|
||||
sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python2|" setuptools/command/easy_install.py
|
||||
}
|
||||
|
||||
build() {
|
||||
cd setuptools-$pkgver
|
||||
python2 bootstrap.py
|
||||
python2 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd setuptools-$pkgver
|
||||
python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
|
||||
rm "$pkgdir"/usr/bin/easy_install
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('PSF')
|
||||
|
||||
sha256sums=(d8203b2425014dd7b15b95c69a41454a98c90e5383c6a23d518f61c2e3e86bfd) # python2-setuptools-44.1.1.tar.gz
|
||||
|
||||
## bd5f12e72a2465bd33aca454cfcf8f52674327c18c81bee3e2446da769f8a918 python2-setuptools-2:44.1.1-03-x86_64.pkg.tar.lz
|
42
python2-setuptools/PKGBUILD-aur
Normal file
42
python2-setuptools/PKGBUILD-aur
Normal file
|
@ -0,0 +1,42 @@
|
|||
# Maintainer: Angel Velasquez <angvp@archlinux.org>
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
|
||||
|
||||
pkgname=python2-setuptools
|
||||
pkgver=44.1.1
|
||||
pkgrel=2
|
||||
epoch=2
|
||||
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
|
||||
arch=('any')
|
||||
license=('PSF')
|
||||
url="https://pypi.org/project/setuptools/"
|
||||
depends=('python2')
|
||||
makedepends=('git')
|
||||
provides=('python2-distribute')
|
||||
replaces=('python2-distribute')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('aabddfbd62b95ce7d8e68d582362361d32b91e65e6d00c393593521a2c1c383552e324ae64974049ae9880072c8741e2393e6482cd07ff7dd30615e91e9e1450')
|
||||
|
||||
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
||||
|
||||
prepare() {
|
||||
# Remove post-release tag since we are using stable tags
|
||||
sed -e '/tag_build = .post/d' \
|
||||
-e '/tag_date = 1/d' \
|
||||
-i setuptools-$pkgver/setup.cfg
|
||||
|
||||
cd "$srcdir"/setuptools-$pkgver
|
||||
sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python2|" setuptools/command/easy_install.py
|
||||
}
|
||||
|
||||
build() {
|
||||
cd setuptools-$pkgver
|
||||
python2 bootstrap.py
|
||||
python2 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd setuptools-$pkgver
|
||||
python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
|
||||
rm "$pkgdir"/usr/bin/easy_install
|
||||
}
|
1
python2-setuptools/clean
Normal file
1
python2-setuptools/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,python2-setuptools*tar.gz}
|
2
python2-setuptools/deps
Normal file
2
python2-setuptools/deps
Normal file
|
@ -0,0 +1,2 @@
|
|||
git
|
||||
python2
|
6
python2-setuptools/time
Normal file
6
python2-setuptools/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m4.392s
|
||||
user 0m4.007s
|
||||
sys 0m0.545s
|
||||
|
Loading…
Reference in a new issue