50 Commits

Author SHA1 Message Date
Maksim Bondarenkov
a093ebd77b Revert "remove --offline option from cargo invocations"
This reverts commit 21a9d98f26c82a4be64c4a668e73fdef32e4cc4c.

it now behaves not how I expected. cargo now tries to make a HTTP request every try
2025-05-03 07:11:42 +03:00
Maksim Bondarenkov
21a9d98f26 remove --offline option from cargo invocations
--offline is applied by --frozen option because frozen is locked+offline
2025-05-01 19:17:48 +03:00
Maksim Bondarenkov
95bea706da
add a template for cargo-c built package 2025-02-22 20:37:28 +03:00
Maksim Bondarenkov
7052935507 python template: remove msg invocations 2024-09-13 11:34:53 +03:00
Maksim Bondarenkov
0792bca97b templates: remove some ${srcdir} references
every functions start at `${srcdir}`. it's not required to pass full paths to `cd`
2024-09-13 09:33:06 +02:00
Maksim Bondarenkov
4664c53f32 fix autotools template
build-${MSYSTEM} is located at ${srcdir}, but not ${srcdir}/${_realname}-${pkgver}
2024-08-12 19:31:25 +03:00
Christoph Reiter
289375f063 PKGBUILD-templates: get rid of $MINGW_PREFIX/bin
There is really no need to, we can depend on PATH there
2024-07-29 09:09:03 +02:00
Biswapriyo Nath
1446298030 templates: Pass build directory as command line option of build system
This helps to rule out all the cd commands and jumping between various directories.
2024-04-15 01:11:25 +05:30
ognevnydemon
d3277e3854 cargo tarball template: drop mingw64 and fix license installation
see https://github.com/msys2/MINGW-packages/pull/20507#issuecomment-2028795227
2024-03-31 18:27:05 +03:00
ognevnydemon
7c5fcc864d cargo-tarball template: fetch target triple in another way 2024-03-19 07:03:01 +03:00
ognevnydemon
5422ba89ca fetch less crates in preparation step, take 2 2024-01-21 07:48:09 +03:00
Christoph Reiter
ec94f88fbd PKGBUILD-templates: remove mingw32/clang32 and add clangarm64
change the defaults, so mingw32/clang32 are only added if needed
and clangarm64 removed if it fails in autobuild.
2023-12-11 14:29:34 +01:00
Biswapriyo Nath
8e050ea1e7 templates: Add pkgname in cmake git example 2023-08-05 20:39:27 +05:30
Christoph Reiter
4b1c2259fd templates: remove setuptools template
And rename the pyproject template to just "python".

python-build/installer can now be used to also build/install
packages that don't have a pyproject.toml, so this template should now be
applied to all Python packages (assuming they are on pypi and
are installable with pip)
2023-01-15 20:56:16 +01:00
Biswapriyo Nath
1ecad6da9f
PKGBUILD-templates: Mention setup option with meson
Running "meson builddir" without setup subcommand was deprecated.
Without the setup option, meson shows the following message:
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

See this upstream commit
3c7ab542c0
2022-12-21 23:17:56 +05:30
Markus Mützel
a1a74811e9 PKGBUILD-templates: fix typo 2022-06-30 18:54:59 +02:00
Christoph Reiter
32ff9ff8ba Add mingw_arch to all templates 2022-02-13 17:26:10 +01:00
Christoph Reiter
c60e7ff042 Rename pyproject template
It's for packages providing a pyproject.toml, so name it as such.
2022-02-13 17:24:36 +01:00
Christoph Reiter
e18c5ab5cc Drop pyproject2setuppy template 2022-02-13 17:22:39 +01:00
MARINA\jpmug
6252dafa15 address some concerns expressed by lazka . 2022-02-09 12:15:37 -05:00
MARINA\jpmug
7986ea9ef7 new template for python build, installer . 2022-02-09 11:51:23 -05:00
Christoph Reiter
b6de05c255 PKGBUILD-templates: makedepend on a compiler 2022-01-09 21:34:30 +01:00
Christoph Reiter
ddd66a7d23 templates: add a cargo example 2022-01-04 07:36:03 +01:00
Christoph Reiter
b91d002a69
autotools template: use mingw autotools variant 2021-12-14 22:36:03 +01:00
Christoph Reiter
18038a5e4f
autotools template: makedepend on autotools 2021-12-14 20:32:19 +01:00
JPeterMugaas
ac6c1e645b Added a template for using pyproject2setuppy in other packages. 2021-12-03 02:06:51 -05:00
Christoph Reiter
b988b10624 templates: python example is for setuptools 2021-11-27 18:20:46 +01:00
Christoph Reiter
ca474bc654 templates: the git example isn't github specific 2021-11-27 18:18:32 +01:00
Christoph Reiter
fec492dde7 templates: clean up, shellcheck, simplify
Try to keep things simple so new users aren't overwhelmed.
We already have lots of complex examples via all the packages.
2021-11-27 18:15:09 +01:00
Christoph Reiter
10700daef1 templates: don't manually delete the build dir
You should use -C if that is a problem
2021-11-27 18:06:06 +01:00
Christoph Reiter
4b3632d85f templates: add a .sh extension so syntax highlighting works
github would support mode lines too, but vscode doesn't
2021-11-27 18:06:06 +01:00
Christoph Reiter
85903e6691 templates: clean up smake templates a bit
use MSYSTEM, shorter form of install command, don't set options that are the default anyway
2021-08-14 09:47:48 +02:00
Jeremy Drake
3fc57c0c77 update python setuptools PKGBUILD template.
* Update sed command to blank out shebang line.
 - Restricted to *-script.py, as that convention is used by the launcher.
* Remove now unneeded install scripts
* Minor fixes.
2021-03-09 11:07:28 -08:00
Jeremy Drake
e002b12abb PKGBUILD-templates: add splitpkg-wrappers template
to be included by split packages to generate package function wrappers
for $MINGW_PACKAGE_PREFIX
2021-02-10 17:36:37 -08:00
Christoph Reiter
2eb1073d25 PKGBUILD-templates: cleanup, use ninja for cmake and add a meson template 2020-10-24 15:54:49 +02:00
Alexey Pavlov
4366a4755b PGKBUILD-templates: Adjust python PKGBUILD to build package only for current python 2019-12-18 08:20:44 +03:00
Dan Yeaw
fddd9ee6c6 Use current path prefix to find Python script files to modify
When using pacman to install packages, the --root option can be set to
install them to an alternative location. The current install scripts
don't take this in to account which causes no such file or directory
errors. This modifies the sed command to use the full prefix path
when renaming the shebang.

Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-27 13:02:27 -04:00
J. Peter Mugaas
7e779e5e06 fix a typeo and copy LICENSE to LICENSE (not COPYING) (#4313)
* In the /mingw64/bin/ *.py scripts, replace "/usr/bin/env " with path to the proper python interpretter.  Otherwise, it will fail.
Verified with python-virtual-env 16.0 package.

* Fix typeo in new comments.  Copy LICENSE to LICENSE not COPYING.
2018-08-26 08:33:00 +03:00
J. Peter Mugaas
0f4cdf978e PKGBUILD.setup-py - fixes for patch and .EXE installs. (#4309)
Fix for setup.py template, a fix for running python-compiled .EXE bin scripts.  zyjr /zrcr od do,[;u sm rmytu  [pomy.  Added a directory containing the installs to complete the fixup on the user's system so that the scrips have fully-qualified paths that differ from the packager.  This seems to be best way of doing this with packages such as whell and some other things I've working on.
2018-08-25 20:41:56 +03:00
J. Peter Mugaas
9e95e78eb9 Revisions to the mingw-w64-python package template. (#4066)
Add export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver to prepare for setuptools-scm if necessary.  That's required for release versions (not a git repository)
Clearly denote a section in the python2 and python3 install sections for .exe's and other scripts that are deployed in the /mingw*/bin directories  Also note what needs to removed for packages that do not do this.
For python2 scripts and .exe's, add code to rename scripts and executables to avoid a name conflict with python3 packages.
2018-07-12 07:54:59 +03:00
J. Peter Mugaas
f3ce97d04e Fix for python2 install. The path should have included the -${CARCH} (#3852) 2018-05-28 09:00:32 +03:00
J. Peter Mugaas
ccb14e2203 Add two helper macros to the PKGBUILD templates. apply_patch_with_ms… (#3846)
* Add two helper macros to the PKGBUILD templates.  apply_patch_with_msg applies a patch ensuring a backup is made and with an output message showing the patch being applied to help with debugging.  del_file_exists delets files and is meant for where a patch creates new files.  Those added files may not be deleted if the PKGBUILD is reran causing patch to fail saying it's already been applied.

Fix the setup-py template to use a _dtoken variable for part of the URL in pypi.  Those use a download token for each software package and is unique to EVERY version.  Also, use python${pver}-build-${CARCH} consistantly.  The CARCH allows us to have for binary versions so that they could be examined if a build problem were to occur and speed up the build.

* Fixed the comment about the source and made a point about downloading from some source such as github instead of pypi.
2018-05-28 07:52:13 +03:00
Alexey Pavlov
737f6a2d1e Fix templates 2018-05-22 07:44:08 +03:00
J. Peter Mugaas
e9395ba545 Python (#1839)
* openjpeg 2.1.2 - rel. 2 - Disable JPIP because causing compilation failures -not sure why

* Revert "openjpeg 2.1.2 - rel. 2 - Disable JPIP because causing compilation failures -not sure why"

This reverts commit ea56c3cf0762d03b563ffe81c0807ac559b0cf53.

* harfbuzz: Update to 1.3.2

* cppcheck: Update to 1.76

* libvirt: Update to 2.3.0

* libbluray: Update to 0.9.3

* libebml: Update to 1.3.4

* libmatroska: Update to 1.4.5

* libbluray: Place in proper folder

* x264: Is git package. Update to r2721.72d53ab

* l-smash: Rebuild

* x265: Update to 2.1

* ffmpeg: Update to 3.1.4

* nspr: Update to 4.13

* Fix PKGBUILDs. Rebuild

* gdl: Update to 3.22.0

* Python updates and additions

PKGBUILD-templates - Update for new SF, add build, and make dirs for
each py version and arch.
python-distutils-extra - 2.39 - new package
python-mock - 2.0 Update to altest version
python-pbr: 1.10.0 - Update to latest version
python-pgen2 -  0.1.0 - New package
python-pip: rebuildm, fix issue with symlink, and rework slightly to
match updated template
python-pyparsing - 2.1.10 - Update to latest version
python-pytest - 3.0.3 - Update to latest version
python-setuptools - 28.6.0 - Update ot latest version
python-cython - 0.24.1 - Update to latest version
2016-10-20 09:40:22 +03:00
J. Peter Mugaas
dbc6b5c5f1 New PKGBUILD template for Python packages that use setup.py. 2016-04-30 15:21:07 -04:00
J. Peter Mugaas
2a1348ddcb CMake with tarball template 2016-04-13 13:42:46 -04:00
Viktor Szakats
e32a40cc92 switch to sha256 checksums
* upgrade some broken packages
* correct some broken urls/checksums
* use secure urls where possible
* update PKGBUILD templates
* remove line-ending whitespace
* minor typos/fixes

Remaining md5sums either didn't download or
didn't pass checksum tests.
2016-02-25 20:55:26 +01:00
Ray Donnelly
776195fc6a PKGBUILD-templates: Added CMake-github-git template 2015-11-26 22:18:15 +00:00
Alexpux
754b99570e Some fixes to template 2015-05-02 23:01:48 +03:00
Ray Donnelly
350061454b PKGBUILD-templates: Starting points for new packages 2014-10-17 23:58:10 +01:00