Merge branch 'master' into 'master'
Master See merge request turkman/packages/main!97
This commit is contained in:
commit
c16e0f52f6
71 files changed
+2392
No files matched your search
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-babel'
|
||||
release='1'
|
||||
version='2.12.1'
|
||||
url='http://babel.pocoo.org/'
|
||||
description='Python3 i18n tool'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('BSD-3-Clause')
|
||||
source=("https://github.com/python-babel/babel/archive/refs/tags/v${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=(py3-tz py3-setuptools)
|
||||
md5sums=('e3a014f2a831e4b45ef90ee1f3f45d95')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "babel"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-cerberus'
|
||||
release='1'
|
||||
version='1.3.4'
|
||||
url='http://python-cerberus.org/'
|
||||
description='Lightweight, extensible data validation library for Python'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('ISC')
|
||||
source=("https://github.com/pyeve/cerberus/archive/refs/tags/${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=(py3-setuptools)
|
||||
md5sums=('df1416f38dc34f7db37d2f3026909f0d')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "cerberus"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-curl'
|
||||
release='1'
|
||||
version='7.45.2'
|
||||
url='http://pycurl.sourceforge.net/'
|
||||
description='A Python 3.x interface to libcurl'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('LGPL' 'MIT')
|
||||
source=("https://salsa.debian.org/python-team/packages/pycurl/-/archive/upstream/${version}/pycurl-upstream-${version}.tar.gz")
|
||||
depends=(python curl)
|
||||
makedepends=()
|
||||
md5sums=('3b58f4b2cada5f5666926da299b2cc51')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "pycurl-upstream"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-dbus'
|
||||
_name='dbus-python'
|
||||
release='1'
|
||||
version='1.3.2'
|
||||
url='https://www.freedesktop.org/wiki/Software/DBusBindings'
|
||||
description='Python3 bindings for DBUS'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://dbus.freedesktop.org/releases/dbus-python/$_name-${version}.tar.gz")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('33be8a4a766e1c7c9a377b8f934ce21a')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $_name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-docutils'
|
||||
release='1'
|
||||
version='0.20.1'
|
||||
url='https://pypi.org/project/docutils'
|
||||
description='Documentation Utilities for Python3'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=(BSD-2-Clause GPL-3.0-or-later Python-2.0)
|
||||
source=("https://files.pythonhosted.org/packages/source/d/docutils/docutils-${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=()
|
||||
md5sums=('93bcfe0065cf1d0b6a0bcabeca7a2335')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "docutils"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-editables'
|
||||
release='1'
|
||||
version='0.3'
|
||||
url='https://github.com/pfmoore/editables'
|
||||
description='library for creating editable wheels'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://github.com/pfmoore/editables/archive/refs/tags/${version}.tar.gz")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('82c645a015cc63b2857bf095fb17443b')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "editables"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-hatchling'
|
||||
release='1'
|
||||
version='1.18.0'
|
||||
url='https://github.com/pypa/hatch'
|
||||
description=' Modern, extensible Python build backend'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://github.com/pypa/hatch/archive/refs/tags/hatchling-v${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=(py3-pathspec py3-editables py3-trove-classifiers py3-pluggy)
|
||||
md5sums=('18de98a22f62df1ce02b8ce55aab413a')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "hatch-hatchling-v"$version
|
||||
|
||||
build(){
|
||||
python -m build --wheel --no-isolation backend
|
||||
}
|
||||
|
||||
package(){
|
||||
python -m installer --destdir="$DESTDIR" backend/dist/*.whl
|
||||
install -Dm644 README.md "${DESTDIR}/usr/share/doc/${name}/README.md"
|
||||
install -Dm644 backend/LICENSE.txt "${DESTDIR}/usr/share/licenses/${name}/LICENSE.txt"
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-imagesize'
|
||||
release='1'
|
||||
version='1.4.1'
|
||||
url='https://github.com/shibukawa/imagesize_py'
|
||||
description='Getting image size from png/jpeg/jpeg2000/gif file'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://github.com/shibukawa/imagesize_py/archive/refs/tags/${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=(py3-build py3-installer py3-setuptools py3-wheel)
|
||||
md5sums=('705a10474ca2e3112f869522e1c667b6')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "imagesize_py"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-inotify'
|
||||
release='1'
|
||||
version='0.9.6'
|
||||
url='https://pypi.org/project/pyinotify'
|
||||
description='Linux filesystem events monitoring'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://github.com/seb-m/pyinotify/archive/refs/tags/${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=()
|
||||
md5sums=('33f4e599c22a3ac31b684335b4a535a0')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "pyinotify"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-libxdo'
|
||||
release='1'
|
||||
version='0.1.2a1'
|
||||
url='https://pypi.org/project/python-libxdo/'
|
||||
description='Package description missing'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/rshk/python-libxdo/archive/refs/tags/v${version}.tar.gz")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('346429c4ae9f29d7ab039666027a46db')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "python-libxdo"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-packaging'
|
||||
release='1'
|
||||
version='23.1'
|
||||
url='https://pypi.org/project/packaging'
|
||||
description='Core utilities for Python3 packages'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('Apache-2.0 AND BSD-2-Clause')
|
||||
source=("https://github.com/pypa/packaging/archive/refs/tags/${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=(py3-parsing)
|
||||
md5sums=('c43924bf15188607e7789c0db2955fdc')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "packaging"-$version
|
||||
|
||||
build(){
|
||||
python -m build -nw
|
||||
}
|
||||
|
||||
package(){
|
||||
python -m installer --destdir="$DESTDIR" dist/*.whl
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-pam'
|
||||
release='1'
|
||||
version='2.0.2'
|
||||
url='https://github.com/FirefighterBlu3/python-pam'
|
||||
description='A Python interface to the PAM library'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://github.com/FirefighterBlu3/python-pam/archive/refs/tags/v${version}.tar.gz")
|
||||
depends=(python py3-six)
|
||||
makedepends=()
|
||||
md5sums=('928b13bf7377315f9a13f7baf6c6bf08')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "python-pam"-$version
|
||||
|
||||
build(){
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package(){
|
||||
python -m installer --destdir="${DESTDIR}" dist/*.whl
|
||||
install -Dm644 LICENSE "${DESTDIR}/usr/share/licenses/${name}/LICENSE"
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-pathspec'
|
||||
release='1'
|
||||
version='0.11.1'
|
||||
url='https://github.com/cpburnz/python-path-specification'
|
||||
description='Utility library for gitignore style pattern matching of file paths'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MPL-2.0')
|
||||
source=("https://github.com/cpburnz/python-pathspec/archive/refs/tags/v${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=(py3-build py3-flit-core py3-installer py3-wheel)
|
||||
md5sums=('0965b5b501cf63c8c8b1139e1c04c4ce')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "python-pathspec"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
@@ -0,0 +1,114 @@
|
||||
diff -ruN a/pdm/pep517/base.py b/pdm/pep517/base.py
|
||||
--- a/pdm/pep517/base.py 2023-02-07 08:56:04.543331000 +0100
|
||||
+++ b/pdm/pep517/base.py 2023-02-07 09:36:23.252222592 +0100
|
||||
@@ -7,7 +7,7 @@
|
||||
from pathlib import Path
|
||||
from typing import Any, Iterator, Mapping, TypeVar, cast
|
||||
|
||||
-from pdm.pep517._vendor import tomli
|
||||
+import tomli
|
||||
from pdm.pep517.exceptions import MetadataError, PDMWarning, ProjectError
|
||||
from pdm.pep517.metadata import Metadata
|
||||
from pdm.pep517.utils import is_python_package, safe_version, to_filename
|
||||
diff -ruN a/pdm/pep517/license.py b/pdm/pep517/license.py
|
||||
--- a/pdm/pep517/license.py 2023-02-07 08:56:04.543331000 +0100
|
||||
+++ b/pdm/pep517/license.py 2023-02-07 09:36:23.252222592 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
import warnings
|
||||
|
||||
-from pdm.pep517._vendor.license_expression import (
|
||||
+from license_expression import (
|
||||
LicenseSymbol,
|
||||
Licensing,
|
||||
get_spdx_licensing,
|
||||
diff -ruN a/pdm/pep517/metadata.py b/pdm/pep517/metadata.py
|
||||
--- a/pdm/pep517/metadata.py 2023-02-07 08:56:04.543331000 +0100
|
||||
+++ b/pdm/pep517/metadata.py 2023-02-07 09:36:23.252222592 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
from pathlib import Path
|
||||
from typing import Any, Callable, Generic, Iterable, Mapping, TypeVar, cast
|
||||
|
||||
-from pdm.pep517._vendor.packaging.requirements import InvalidRequirement, Requirement
|
||||
+from packaging.requirements import InvalidRequirement, Requirement
|
||||
from pdm.pep517.exceptions import MetadataError, PDMWarning, ProjectError
|
||||
from pdm.pep517.utils import (
|
||||
cd,
|
||||
diff -ruN a/pdm/pep517/scm.py b/pdm/pep517/scm.py
|
||||
--- a/pdm/pep517/scm.py 2023-02-07 08:56:04.543331000 +0100
|
||||
+++ b/pdm/pep517/scm.py 2023-02-07 09:36:23.252222592 +0100
|
||||
@@ -14,7 +14,7 @@
|
||||
from pathlib import Path
|
||||
from typing import Any, Iterable, NamedTuple
|
||||
|
||||
-from pdm.pep517._vendor.packaging.version import Version
|
||||
+from packaging.version import Version
|
||||
|
||||
DEFAULT_TAG_REGEX = re.compile(
|
||||
r"^(?:[\w-]+-)?(?P<version>[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$"
|
||||
diff -ruN a/pdm/pep517/sdist.py b/pdm/pep517/sdist.py
|
||||
--- a/pdm/pep517/sdist.py 2023-02-07 08:56:04.543331000 +0100
|
||||
+++ b/pdm/pep517/sdist.py 2023-02-07 09:36:23.252222592 +0100
|
||||
@@ -6,7 +6,8 @@
|
||||
from posixpath import join as pjoin
|
||||
from typing import Any, Iterator
|
||||
|
||||
-from pdm.pep517._vendor import tomli, tomli_w
|
||||
+import tomli
|
||||
+import tomli_w
|
||||
from pdm.pep517.base import Builder
|
||||
|
||||
|
||||
diff -ruN a/pdm/pep517/utils.py b/pdm/pep517/utils.py
|
||||
--- a/pdm/pep517/utils.py 2023-02-07 08:56:04.543331000 +0100
|
||||
+++ b/pdm/pep517/utils.py 2023-02-07 09:36:23.252222592 +0100
|
||||
@@ -12,10 +12,10 @@
|
||||
from pathlib import Path
|
||||
from typing import Callable, Generator, Iterable, Match
|
||||
|
||||
-from pdm.pep517._vendor.packaging import tags
|
||||
-from pdm.pep517._vendor.packaging.markers import Marker
|
||||
-from pdm.pep517._vendor.packaging.requirements import Requirement
|
||||
-from pdm.pep517._vendor.packaging.version import InvalidVersion, Version
|
||||
+from packaging import tags
|
||||
+from packaging.markers import Marker
|
||||
+from packaging.requirements import Requirement
|
||||
+from packaging.version import InvalidVersion, Version
|
||||
from pdm.pep517.macosx_platform import calculate_macosx_platform_tag
|
||||
|
||||
|
||||
diff -ruN a/pdm/pep517/validator.py b/pdm/pep517/validator.py
|
||||
--- a/pdm/pep517/validator.py 2023-02-07 08:56:04.543331000 +0100
|
||||
+++ b/pdm/pep517/validator.py 2023-02-07 09:36:23.252222592 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
from typing import Mapping
|
||||
|
||||
-from pdm.pep517._vendor import cerberus
|
||||
+import cerberus
|
||||
from pdm.pep517.exceptions import PEP621ValidationError
|
||||
|
||||
README_RULE = [
|
||||
diff -ruN a/pdm/pep517/wheel.py b/pdm/pep517/wheel.py
|
||||
--- a/pdm/pep517/wheel.py 2023-02-07 08:56:04.543331000 +0100
|
||||
+++ b/pdm/pep517/wheel.py 2023-02-07 09:36:23.252222592 +0100
|
||||
@@ -20,8 +20,8 @@
|
||||
from typing import Any, BinaryIO, Generator, Mapping, NamedTuple, TextIO
|
||||
|
||||
from pdm.pep517 import __version__
|
||||
-from pdm.pep517._vendor.packaging import tags
|
||||
-from pdm.pep517._vendor.packaging.specifiers import SpecifierSet
|
||||
+from packaging import tags
|
||||
+from packaging.specifiers import SpecifierSet
|
||||
from pdm.pep517.base import Builder
|
||||
from pdm.pep517.exceptions import BuildError, PDMWarning
|
||||
from pdm.pep517.utils import get_abi_tag, get_platform, show_warning
|
||||
diff -ruN a/tests/test_metadata.py b/tests/test_metadata.py
|
||||
--- a/tests/test_metadata.py 2023-02-07 08:56:04.547330900 +0100
|
||||
+++ b/tests/test_metadata.py 2023-02-07 09:36:23.252222592 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
import pytest
|
||||
|
||||
-from pdm.pep517._vendor import tomli
|
||||
+import tomli
|
||||
from pdm.pep517.metadata import Metadata
|
||||
from tests import FIXTURES
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-pdm-pep517'
|
||||
release='1'
|
||||
version='1.1.4'
|
||||
url='https://github.com/pdm-project/pdm-pep517'
|
||||
description='A PEP 517 backend for PDM that supports PEP 621 metadata'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://github.com/pdm-project/pdm-backend/archive/refs/tags/${version}.tar.gz" "python-pdm-pep517-1.1.2-devendor.patch")
|
||||
depends=(py3-tomli-w)
|
||||
makedepends=(py3-tomli py3-cerberus)
|
||||
md5sums=('ba5d54bfe72feec5330ab3524870783b' 'SKIP')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "pdm-backend"-$version
|
||||
ls -l ../
|
||||
prepare(){
|
||||
patch -Np1 -d ../pdm-backend-$version -i ../python-pdm-pep517-1.1.2-devendor.patch
|
||||
}
|
||||
|
||||
build(){
|
||||
python -m build --wheel --skip-dependency-check --no-isolation
|
||||
}
|
||||
|
||||
package(){
|
||||
python -m installer --destdir="$DESTDIR" dist/*.whl
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-pexpect'
|
||||
release='1'
|
||||
version='4.8.0'
|
||||
url='http://pexpect.readthedocs.org/en/stable'
|
||||
description='Make Python a better tool for controlling and automating other programs'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://github.com/pexpect/pexpect/archive/refs/tags/${version}.tar.gz")
|
||||
depends=(python py3-ptyprocess)
|
||||
makedepends=()
|
||||
md5sums=('b260eb284efc19489466b804ff53c59b')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "pexpect"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-pillow'
|
||||
release='1'
|
||||
version='9.5.0'
|
||||
url='https://python-pillow.org/'
|
||||
description='Python Imaging Library'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('BSD')
|
||||
source=("https://github.com/python-pillow/Pillow/archive/refs/tags/${version}.tar.gz")
|
||||
depends=(python freetype lcms2 libtiff libxcb)
|
||||
makedepends=(git py3-build py3-installer py3-wheel py3-setuptools libwebp tk)
|
||||
md5sums=('7eee6ea92f43d34e0c0a04a05fb435be')
|
||||
group=()
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "Pillow"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-pluggy'
|
||||
release='1'
|
||||
version='1.0.0'
|
||||
url='https://pluggy.readthedocs.io/en/latest/'
|
||||
description='Plugin management and hook calling for Python'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://files.pythonhosted.org/packages/a1/16/db2d7de3474b6e37cbb9c008965ee63835bba517e22cdb8c35b5116b5ce1/pluggy-${version}.tar.gz")
|
||||
depends=(py3-pdm-pep517)
|
||||
makedepends=(py3-setuptools)
|
||||
md5sums=('daa6fddfb6cd364f3c82e52098911e4b')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "pluggy"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-ptyprocess'
|
||||
_name='ptyprocess'
|
||||
release='1'
|
||||
version='0.7.0'
|
||||
url='https://github.com/pexpect/ptyprocess'
|
||||
description='Run a subprocess in a pseudo terminal'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://pypi.io/packages/source/p/${_name}/${_name}-${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=()
|
||||
md5sums=('9da200c397cb1752209a6b718b6cfc68')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $_name-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-requests'
|
||||
release='1'
|
||||
version='2.31.0'
|
||||
url='https://requests.readthedocs.io/'
|
||||
description='Python HTTP for Humans'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('Apache')
|
||||
source=("https://github.com/psf/requests/archive/refs/tags/v${version}.tar.gz")
|
||||
depends=()
|
||||
makedepends=(py3-build py3-wheel py3-setuptools)
|
||||
md5sums=('fb734df6b273e30f68f9346dbf72aa34')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "requests"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-setproctitle'
|
||||
release='1'
|
||||
version='1.3.2'
|
||||
url='https://github.com/dvarrazzo/py-setproctitle'
|
||||
description='A Python module to customize the process title'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('BSD-3-Clause')
|
||||
source=("https://github.com/dvarrazzo/py-setproctitle/archive/refs/tags/version-${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=()
|
||||
md5sums=('1c5cc7d9dd64c33b70afacfba55f6c2e')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "py-setproctitle-version"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-snowballstemmer'
|
||||
release='1'
|
||||
version='2.2.0'
|
||||
url='https://snowballstem.org/'
|
||||
description='Snowball stemming library collection for Python3'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('BSD')
|
||||
#source=("https://github.com/snowballstem/snowball/archive/refs/tags/v${version}.tar.gz")
|
||||
source=("https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=()
|
||||
md5sums=('4332ddc7bbee0f344a03915b2ad59a54')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "snowballstemmer"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-sphinx'
|
||||
release='1'
|
||||
version='7.0.1'
|
||||
url='https://www.sphinx-doc.org/'
|
||||
description='Python Documentation Generator'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('BSD-2-Clause')
|
||||
source=("https://github.com/sphinx-doc/sphinx/archive/refs/tags/v${version}.tar.gz")
|
||||
depends=(python py3-babel py3-docutils py3-imagesize py3-jinja py3-packaging py3-pygments py3-requests py3-snowballstemmer)
|
||||
makedepends=(py3-build py3-flit-core py3-installer)
|
||||
md5sums=('1bb87f2b84b2fd3401fff53cc9681209')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "sphinx"-$version
|
||||
|
||||
build(){
|
||||
python -m build --wheel --skip-dependency-check --no-isolation
|
||||
}
|
||||
|
||||
package(){
|
||||
python -m installer --destdir="$DESTDIR" dist/*.whl
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-tinycss2'
|
||||
release='1'
|
||||
version='1.2.1'
|
||||
url='https://pypi.python.org/pypi/tinycss2'
|
||||
description='Low-level CSS parser for Python'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('BSD')
|
||||
source=("https://github.com/Kozea/tinycss2/archive/refs/tags/v${version}.tar.gz")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('39d99a0f33d5bacbd1cd1e663de960d5')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "tinycss2"-$version
|
||||
|
||||
|
||||
build(){
|
||||
python -m build -nw
|
||||
}
|
||||
|
||||
package(){
|
||||
python -m installer -d "$DESTDIR" dist/*.whl
|
||||
install -Dm644 LICENSE -t "$DESTDIR"/usr/share/licenses/$name/
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-tomli-w'
|
||||
release='1'
|
||||
version='1.0.0'
|
||||
url='https://github.com/hukkin/tomli-w'
|
||||
description="Lil' TOML writer"
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://github.com/hukkin/tomli-w/archive/refs/tags/${version}.zip")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('4417a3788beaa9111855f069b75366a2')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "tomli-w"-$version
|
||||
|
||||
build(){
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package(){
|
||||
python -m installer --destdir="${DESTDIR}" dist/*.whl
|
||||
install -Dm 644 LICENSE -t "${DESTDIR}"/usr/share/licenses/python-tomli-w/
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-tomli'
|
||||
release='1'
|
||||
version='2.0.1'
|
||||
url='https://github.com/hukkin/tomli'
|
||||
description="Lil' TOML parser"
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://github.com/hukkin/tomli/archive/refs/tags/${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=(py3-build py3-flit-core)
|
||||
md5sums=('b32f504876fd88ea1ca0c2fab4ce8e27')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "tomli"-$version
|
||||
|
||||
build(){
|
||||
python -m build -wn --skip-dependency-check
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 -m installer -d "$DESTDIR" dist/*.whl
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-trove-classifiers'
|
||||
release='1'
|
||||
version='2023.5.24'
|
||||
url='https://github.com/pypa/trove-classifiers'
|
||||
description='Canonical source for classifiers on PyPI'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('Apache-2.0')
|
||||
source=("https://github.com/pypa/trove-classifiers/archive/refs/tags/${version}.tar.gz")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('a618ec3cb66f84e8b61dce918f508a94')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "trove-classifiers"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-tz'
|
||||
release='1'
|
||||
version='2023.3'
|
||||
url='https://pypi.python.org/pypi/pytz'
|
||||
description='Python3 definitions of world timezone'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://pypi.python.org/packages/source/p/pytz/pytz-${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=()
|
||||
md5sums=('fe54c8f8a1544b4e78b523b264ab071b')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "pytz"-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-urllib3'
|
||||
release='1'
|
||||
version='2.0.3'
|
||||
url='https://github.com/urllib3/urllib3'
|
||||
description='HTTP library with thread-safe connection pooling, file post, and more'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('MIT')
|
||||
source=("https://github.com/urllib3/urllib3/archive/refs/tags/${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=(py3-build py3-installer py3-setuptools py3-sphinx py3-wheel py3-hatchling)
|
||||
md5sums=('395767051ae262775e44ef11ee05bcfe')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "urllib3"-$version
|
||||
|
||||
|
||||
build(){
|
||||
python -m build --wheel --no-isolation
|
||||
|
||||
}
|
||||
|
||||
package(){
|
||||
python -m installer --destdir="$DESTDIR" dist/*.whl
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-xapp'
|
||||
release='1'
|
||||
version='2.4.0'
|
||||
url='https://github.com/linuxmint/python3-xapp'
|
||||
description='Python Xapp Library'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('LGPL')
|
||||
source=("https://github.com/linuxmint/python3-xapp/archive/refs/tags/${version}.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=(meson)
|
||||
md5sums=('b99fbd6d00cb9abd32b03633a23fab67')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
#cd "python3-xapp"-$version
|
||||
|
||||
setup(){
|
||||
meson build "python3-xapp"-$version \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
package(){
|
||||
meson install -C build --destdir=${DESTDIR}
|
||||
python -m compileall -d / "$DESTDIR"/usr/lib
|
||||
python -O -m compileall -d / "$DESTDIR"/usr/lib
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user