Last active
February 15, 2024 21:50
-
-
Save jimdeekepler/9417058a2670c4d7976cf5435f47fdfd to your computer and use it in GitHub Desktop.
PKGBUILD for review: python-scrolltext
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Jim Dee Kepeler <jimdee at github dot comm> | |
pkgname=scrolltext | |
_name=${pkgname#python-} | |
pkgver=0.0.6 | |
pkgrel=1 | |
pkgdesc="Simple scrolltext terminal application" | |
arch=('any') | |
url="https://github.com/jimdeekepler/python-scrolltext" | |
license=('GPL-3.0-or-later') | |
depends=('python') | |
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') | |
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") | |
sha256sums=('a2c13abf8ed3d9198458dfcb1f10244b3749ef7420edae800f4e88963e1faac2') | |
build() { | |
cd "$_name-$pkgver" | |
python -m build --wheel --no-isolation | |
} | |
package() { | |
cd "$_name-$pkgver" | |
python -m installer --destdir="$pkgdir" dist/*.whl | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ LC_ALL=C makepkg | |
==> Making package: scrolltext 0.0.6-1 (Thu Feb 15 22:49:32 2024) | |
==> Checking runtime dependencies... | |
==> Checking buildtime dependencies... | |
==> Retrieving sources... | |
-> Found scrolltext-0.0.6.tar.gz | |
==> Validating source files with sha256sums... | |
scrolltext-0.0.6.tar.gz ... Passed | |
==> Extracting sources... | |
-> Extracting scrolltext-0.0.6.tar.gz with bsdtar | |
==> Starting build()... | |
* Getting build dependencies for wheel... | |
[02/15/24 22:49:32] WARNING pyproject.toml does not contain a tool.setuptools_scm section setuptools.py:119 | |
running egg_info | |
writing scrolltext.egg-info/PKG-INFO | |
writing dependency_links to scrolltext.egg-info/dependency_links.txt | |
writing entry points to scrolltext.egg-info/entry_points.txt | |
writing top-level names to scrolltext.egg-info/top_level.txt | |
ERROR listing git files failed - pretending there aren't any git.py:24 | |
reading manifest file 'scrolltext.egg-info/SOURCES.txt' | |
adding license file 'LICENSE' | |
writing manifest file 'scrolltext.egg-info/SOURCES.txt' | |
* Building wheel... | |
[02/15/24 22:49:32] WARNING pyproject.toml does not contain a tool.setuptools_scm section setuptools.py:119 | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib | |
creating build/lib/scrolltext | |
copying scrolltext/__init__.py -> build/lib/scrolltext | |
copying scrolltext/cli.py -> build/lib/scrolltext | |
copying scrolltext/cursestext.py -> build/lib/scrolltext | |
copying scrolltext/getchtimeout.py -> build/lib/scrolltext | |
copying scrolltext/linescroller.py -> build/lib/scrolltext | |
copying scrolltext/utils.py -> build/lib/scrolltext | |
running egg_info | |
writing scrolltext.egg-info/PKG-INFO | |
writing dependency_links to scrolltext.egg-info/dependency_links.txt | |
writing entry points to scrolltext.egg-info/entry_points.txt | |
writing top-level names to scrolltext.egg-info/top_level.txt | |
ERROR listing git files failed - pretending there aren't any git.py:24 | |
reading manifest file 'scrolltext.egg-info/SOURCES.txt' | |
adding license file 'LICENSE' | |
writing manifest file 'scrolltext.egg-info/SOURCES.txt' | |
installing to build/bdist.linux-x86_64/wheel | |
running install | |
running install_lib | |
creating build/bdist.linux-x86_64 | |
creating build/bdist.linux-x86_64/wheel | |
creating build/bdist.linux-x86_64/wheel/scrolltext | |
copying build/lib/scrolltext/__init__.py -> build/bdist.linux-x86_64/wheel/scrolltext | |
copying build/lib/scrolltext/cli.py -> build/bdist.linux-x86_64/wheel/scrolltext | |
copying build/lib/scrolltext/cursestext.py -> build/bdist.linux-x86_64/wheel/scrolltext | |
copying build/lib/scrolltext/getchtimeout.py -> build/bdist.linux-x86_64/wheel/scrolltext | |
copying build/lib/scrolltext/linescroller.py -> build/bdist.linux-x86_64/wheel/scrolltext | |
copying build/lib/scrolltext/utils.py -> build/bdist.linux-x86_64/wheel/scrolltext | |
running install_egg_info | |
Copying scrolltext.egg-info to build/bdist.linux-x86_64/wheel/scrolltext-0.0.6-py3.11.egg-info | |
running install_scripts | |
creating build/bdist.linux-x86_64/wheel/scrolltext-0.0.6.dist-info/WHEEL | |
creating '/mnt/home/jim/.cache/yay/NEU+python-scrolltext/src/scrolltext-0.0.6/dist/.tmp-da93y7od/scrolltext-0.0.6-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it | |
adding 'scrolltext/__init__.py' | |
adding 'scrolltext/cli.py' | |
adding 'scrolltext/cursestext.py' | |
adding 'scrolltext/getchtimeout.py' | |
adding 'scrolltext/linescroller.py' | |
adding 'scrolltext/utils.py' | |
adding 'scrolltext-0.0.6.dist-info/LICENSE' | |
adding 'scrolltext-0.0.6.dist-info/METADATA' | |
adding 'scrolltext-0.0.6.dist-info/WHEEL' | |
adding 'scrolltext-0.0.6.dist-info/entry_points.txt' | |
adding 'scrolltext-0.0.6.dist-info/top_level.txt' | |
adding 'scrolltext-0.0.6.dist-info/RECORD' | |
removing build/bdist.linux-x86_64/wheel | |
Successfully built scrolltext-0.0.6-py3-none-any.whl | |
==> Entering fakeroot environment... | |
==> Starting package()... | |
==> Tidying install... | |
-> Removing libtool files... | |
-> Purging unwanted files... | |
-> Removing static library files... | |
-> Stripping unneeded symbols from binaries and libraries... | |
-> Compressing man and info pages... | |
==> Checking for packaging issues... | |
==> Creating package "scrolltext"... | |
-> Generating .PKGINFO file... | |
-> Generating .BUILDINFO file... | |
-> Generating .MTREE file... | |
-> Compressing package... | |
==> Leaving fakeroot environment. | |
==> Finished making: scrolltext 0.0.6-1 (Thu Feb 15 22:49:33 2024) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment