Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
b2f8d540
Commit
b2f8d540
authored
5 years ago
by
Leo
Browse files
Options
Downloads
Patches
Plain Diff
community/xxhash: upgrade to 0.7.1
parent
c3be7979
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/xxhash/APKBUILD
+10
-18
10 additions, 18 deletions
community/xxhash/APKBUILD
with
10 additions
and
18 deletions
community/xxhash/APKBUILD
+
10
−
18
View file @
b2f8d540
...
...
@@ -3,16 +3,16 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname
=
xxhash
_pkgname
=
xxHash
pkgver
=
0.7.
0
pkgver
=
0.7.
1
_pypkg
=
python-xxhash
_pyver
=
1.3.0
pkgrel
=
1
pkgrel
=
0
pkgdesc
=
"Extremely fast non-cryptographic hash algorithm"
url
=
"http://www.xxhash.com"
arch
=
"all"
license
=
"BSD-2-Clause GPL-2.0-or-later"
makedepends
=
"python2-dev python3-dev py-setuptools"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc
py2-
$pkgname
:_py2
py3-
$pkgname
:_py3 lib
$pkgname
:libs"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc py3-
$pkgname
:_py3 lib
$pkgname
:libs"
source
=
"
$_pkgname
-
$pkgver
.tar.gz::https://github.com/Cyan4973/
$_pkgname
/archive/v
$pkgver
.tar.gz
$_pypkg
-
$_pyver
.tar.gz::https://github.com/ifduyue/
$_pypkg
/archive/v
$_pyver
.tar.gz
lift-XXH_FORCE_MEMORY_ACCESS-condition.patch
...
...
@@ -29,7 +29,6 @@ build() {
ln
-s
"
$srcdir
"
/
$_pkgname
-
$pkgver
/xxhash.c ./deps/xxhash/xxhash.c
ln
-s
"
$srcdir
"
/
$_pkgname
-
$pkgver
/xxhash.h ./deps/xxhash/xxhash.h
ln
-s
"
$srcdir
"
/
$_pkgname
-
$pkgver
/xxh3.h ./deps/xxhash/xxh3.h
python2 setup.py build
python3 setup.py build
}
...
...
@@ -39,7 +38,6 @@ check() {
*
)
make check
cd
"
$_pybuilddir
"
python2 setup.py
test
python3 setup.py
test
;;
esac
...
...
@@ -50,24 +48,18 @@ package() {
rm
-rf
"
$pkgdir
"
/usr/lib/libxxhash.a
}
_py2
()
{
_py python2
}
_py3
()
{
_py python3
}
_py
()
{
local
python
=
"
$1
"
pkgdesc
=
"
$pkgdesc
(for
$python
)"
depends
=
xxhash
install_if
=
"py-xxhash=
$pkgver
-r
$pkgrel
$python
"
pkgdesc
=
"
$pkgdesc
(for python3)"
depends
=
"python3 xxhash"
replaces
=
"py-xxhash"
provides
=
"py-xxhash=
$pkgver
-r
$pkgrel
"
cd
"
$_pybuilddir
"
$
python
setup.py
install
--prefix
=
/usr
--root
=
"
$subpkgdir
"
python
3
setup.py
install
--prefix
=
/usr
--root
=
"
$subpkgdir
"
}
sha512sums
=
"
2d7a06a5cabc945ac841df4451a744f0a666e4afcce77f5eea70bd68547ac46ebf776dd0e3645ef0204c7ff1dea3f5ff8228a8d9894dae0077f865ffdc123c66
xxHash-0.7.
0
.tar.gz
sha512sums
=
"
03aa89c35fffafa8fc81b249ff4fa0dd3f7985466106815a9f36b00314ce82e3e2586e7abec5b56dd94d9b785768ac9562b03973817390b716cad8cd53e9ebc1
xxHash-0.7.
1
.tar.gz
4aafc2c9f9eac13e6bae11c49ab2342754c2afebe9b2430945ab32e56cc651b4cbbc08fdc2caf339aafb971a1ae3cd76b1983c8780f3b4f9df64a7e19e3927ea python-xxhash-1.3.0.tar.gz
5503fc4177bbbc8ebac3c921be1a560b7197d1e66cb94064013fa5df750c6659520bb8ddec689b2b3ccb51cec3088508c7dce4bc2cf8c6127053d96e39cd7e6e lift-XXH_FORCE_MEMORY_ACCESS-condition.patch"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment