Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gpref] bump to latest master to support C++17 #4332

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions recipes/gperf/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ sources:
"3.1":
url: "https://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz"
sha256: "588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2"
"cci.20201208":
url: "https://git.savannah.gnu.org/gitweb/?p=gperf.git;a=snapshot;h=556e87b5c52b0c03a1e7418f45225a9b664f83c5;sf=tgz"
sha256: "18a72af667940f1295249bf8bb8d2752d451b059b010b4027a9db66791bc638c"
6 changes: 3 additions & 3 deletions recipes/gperf/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from conans import ConanFile, tools, AutoToolsBuildEnvironment
import glob
import os

class GperfConan(ConanFile):
Expand Down Expand Up @@ -26,9 +27,8 @@ def build_requirements(self):
self.build_requires("msys2/20190524")

def source(self):
tools.get(**self.conan_data["sources"][self.version])
extracted_dir = self.name + "-" + self.version
os.rename(extracted_dir, self._source_subfolder)
tools.get(**self.conan_data["sources"][self.version], filename=self.name + "-" + self.version + ".tar.gz")
os.rename(glob.glob("gperf-*")[0], self._source_subfolder)

def _configure_autotools(self):
if not self._autotools:
Expand Down
2 changes: 2 additions & 0 deletions recipes/gperf/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
versions:
"3.1":
folder: "all"
"cci.20201208":
folder: "all"