Skip to content

Commit

Permalink
requests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Jan 2, 2025
1 parent c633756 commit 05a45ef
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 1 deletion.
29 changes: 29 additions & 0 deletions dev/python/py3-certifi/ympbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/usr/bin/env bash
name='py3-certifi'
release='1'
version='2024.12.14'
url='https://github.com/certifi/pyhon-certifi'
description='(Python Distribution) A carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts.'
email='[email protected]'
maintainer='akarsu'
license=('MIT')
source=("https://github.com/certifi/python-certifi/archive/refs/tags/$version.tar.gz")
depends=(python)
makedepends=(py3-setuptools)
sha256sums=('d9045cb5da5ee9678db7020990535a41dfb0779999adbedb375ae7dfdeb4b894')
group=(dev.python)
uses=()
arch=('x86_64')

cd "python-certifi"-$version


build(){
python3 -m build
}

package(){
python3 -m installer --destdir ${DESTDIR} dist/*.whl
}


29 changes: 29 additions & 0 deletions dev/python/py3-chardet/ympbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/usr/bin/env bash
name='py3-chardet'
release='1'
version='5.2.0'
url='https://github.com/chardet/chardet'
description='https://github.com/chardet/chardet/tags'
email='[email protected]'
maintainer='akarsu'
license=('MIT')
source=("https://github.com/chardet/chardet/archive/refs/tags/$version.tar.gz")
depends=(python)
makedepends=(py3-setuptools)
sha256sums=('07249fb7bdf1fc669e2fb0eba58afe18fe6c5e3187ee806f22969f0e809a32dd')
group=(dev.python)
uses=()
arch=('x86_64')

cd "chardet"-$version


build(){
python3 -m build
}

package(){
python3 -m installer --destdir ${DESTDIR} dist/*.whl
}


29 changes: 29 additions & 0 deletions dev/python/py3-idna/ympbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/usr/bin/env bash
name='py3-idna'
release='1'
version='3.10'
url='https://github.com/kjd/idna'
description=' Internationalized Domain Names for Python (IDNA 2008 and UTS #46)'
email='[email protected]'
maintainer='akarsu'
license=('MIT')
source=("https://github.com/kjd/idna/archive/refs/tags/v$version.tar.gz")
depends=(python)
makedepends=(py3-setuptools)
sha256sums=('04f6b013c384deca20a165a4cdf36823465a81c2bb914c40b543802d39e1cb1a')
group=(dev.python)
uses=()
arch=('x86_64')

cd "idna"-$version


build(){
python3 -m build
}

package(){
python3 -m installer --destdir ${DESTDIR} dist/*.whl
}


2 changes: 1 addition & 1 deletion dev/python/py3-requests/ympbuild
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ email='[email protected]'
maintainer='akarsu'
license=('Apache')
source=("https://github.com/psf/requests/archive/refs/tags/v${version}.tar.gz")
depends=()
depends=(py3-certifi py3-idna py3-urllib3 python)
makedepends=(py3-build py3-wheel py3-setuptools)
md5sums=('fb734df6b273e30f68f9346dbf72aa34')
group=(dev.python)
Expand Down

0 comments on commit 05a45ef

Please sign in to comment.